Difference between string and char[] types in C++ - Stack Overflow

Difference between string and char[] types in C++ - Stack Overflow

瀏覽:990
日期:2025-06-15
Well, string type is a completely managed class for character strings, while char[] is still what it was in C, a byte array representing a character string for you. In terms of API and standard library everything is implemented in terms of strings and not...看更多