22.08.2010, 15:53
Put fread into while-loop.
You could try to use sscanf to parse the strings.
...Or the easiest way: just use some include which is made for this.
pawn Код:
while(fread(file, string, sizeof(string)))
{
print(string); // Will print every line in the file.
}
...Or the easiest way: just use some include which is made for this.