We can store data dynamically in a string just like in a dynamic char array, right?
So "string str;" is almost the same as "char * ch = new char[64];"
only much better because we dont have to define the max size?
If the answer is yes i wonder why people continue to complicate their lives by using
dynamic char arrays when they can use strings as well?