Hi,
I am just starting with c++ and i am a bit confused. My "a priori" knowledge is c and in c if i have a large file that i wish to read in into an array, having no clue how large is the file i can allocate an array of size X and the if X is exceeded a reallocate it by, let say, Y. now how is this resolved in c++. I am asking this because i see that c++ uses new() and delete() for memory allocation ? But how is the memory reallocation done?
Thank you
Baxy