3 ms·
C++ basic_string::c_str always returns a null-terminated string. C++ is the solution to numerous C pitfalls.
by ebikelaw 8y ago
C++ basic_string::c_str always returns a null-terminated string. C++ is the solution to numerous C pitfalls.
- AnimalMuppet 8y agoTrue. But not everyone can use it. If you can, it's (almost always) the right answer.