4 ms·
I didn't say class or type but "C strings". You can't rip them out and replace them with something better without massive code legacy issues. And then you stil
by bhaak 8y ago
I didn't say class or type but "C strings".
You can't rip them out and replace them with something better without massive code legacy issues. And then you still haven't dealt with other sources of buffer overflows in C.
- simion314 8y agoThere are no C strings, there are C arrays that can be made to be of char data. C++ has a string type , Qt has a QString type and you can inter-operate with code that wants C char array. If you were creating the C language and compiler at that time with that hardware would have you not implemented pointers and created Java ?