Hello, could some show me some basic code of a 2d char array which is dynamic in size, that does not use char** but can only use a char pointer (char*). the number of rows is dynamic, however the size of each char array is 1024 long. Thank you :)
std::string has a c_str function if you really need a char array - maybe you don't :+)
STL containers are created on the stack, but they have an internal pointer to the data which is on the heap, so you might not have to worry about dynamic memory.