Hey folks,
I have to read a .dat file with f.eof till the end of it but my Dev C++ writes an error,
"f undeclared (first use this function)"
and I dunno what to do.
[edit]I have already written "use namespace std;" at the beginning of my .cpp file[edit]
Code:while (!f.eof()) { f.getline(cstring, sizeof(cstring)); textprintf_ex(screen,font,100,m,makecol(255,255, 255), -1,"%s", cstring); m=m+20; }