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

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

瀏覽:1119
日期:2025-04-24
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...看更多