hello,
okey, i opened the file, count the number of lines inside it by doing this,
ifstream fin("text");
while(text.getline(buffer, 1024)
numberOfLines++;
however, later on, i'd like to read it again from the beginning and i did this,
fin.seekg(0, ios::beg)
but when i did this again,
text.geline(buffer, 1024)
it fails??
many thanks!!