If I'm creating a new char to read in a text file:
char* pbuffer; pbuffer = new char[length];
what is the maximum size length can be? Would a std::string be better? pbuffer will only be allocated one time in scope no matter what, and length is not known until run time depending on the size of the text file to be read.