Skip to content

Instantly share code, notes, and snippets.

@travisperson
Created September 14, 2012 22:54
Show Gist options
  • Save travisperson/3725478 to your computer and use it in GitHub Desktop.
Save travisperson/3725478 to your computer and use it in GitHub Desktop.
Stats of file.
#include "functions.h"
FILE * open_input_file (void)
{
FILE * input = NULL;
input = fopen("input.dat", 'r');
return input;
}
#include "functions.h"
int main (void)
{
FILE * input_dat = NULL;
input_dat = open_input_file();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment