Hi I want read from a hung text file data directly to a string I know that i can use the following:
ifstream infile("myfile");
string str(istreambuf_iterator<char>(infile), istreambuf_iterator<char>());
but this way read whole file in one step. I want read it in several step beacuse this is very larg file about 50GB. How I can do it? thanks for your advice Herzl.