Skip to content

Instantly share code, notes, and snippets.

@ecere
Created January 16, 2013 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecere/4546401 to your computer and use it in GitHub Desktop.
Save ecere/4546401 to your computer and use it in GitHub Desktop.
{
File f = FileOpen("file.txt", read);
if(f)
{
while(!f.eof)
{
char buffer[1024];
if(f.GetLine(buffer, sizeof(buffer)))
PrintLn(buffer);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment