Last active
July 19, 2016 20:36
-
-
Save eduardoedson/16073bd43abd16bcb565 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE* open_file(char *name, char *extension){ | |
FILE* file; | |
file = fopen(name, extension); | |
if(file == NULL){ | |
printf("\nAn error occurred while trying to open the file.\n"); | |
} | |
return file; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment