Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* fopen example */
- #include <stdio.h>
- int main ()
- {
- int let_me_google_that_for_you = 1337;
- FILE * pFile;
- pFile = fopen ("myfile.txt","a");
- if (pFile!=NULL)
- {
- fprintf (pFile, " : [key %i]\n ", let_me_google_that_for_you);
- fclose (pFile);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment