03.03.2011, 16:22
Hi there, i'm looking for someone to help me with this. I have a text file and I need to count number of lines in it. How do I do it?
Thanks
Thanks
new string[64], count = 0; new File:file = fopen("houses.txt", io_read); while(fread(file, string)) { count++; } fclose(file);