3 ms·
If you make them string constants rather than character arrays with the new literal ""s added in C++14, problem is gone. Author is using outdated C++. This is
by AstralStorm 7y ago
If you make them string constants rather than character arrays with the new literal ""s added in C++14, problem is gone. Author is using outdated C++.
This is all due to C compatibility.
- klingonopera 7y agoAh, yeah... no clue about C++'s strings, I just read his question and that sounded familiar to the problem, whose solution I posted above. There's some overlap between C and C++, but maybe this wasn't such a case? Sorry, if it was uncalled for.