Hello everybody! I need to move the get pointer of a text file at the beginning so i wrote in my program the following line (knowing that in a binary file really works):
ifstream in;
in.open("data.txt", ios::in);
in.seekg(0, ios_base::beg);
but...in my text file doesn't really work. Is there a different way to move the get pointer in a text file? Thank you in advance for your time.