Guest User

Untitled

a guest
Oct 24th, 2013
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. /* fopen example */
  2. #include <stdio.h>
  3. int main ()
  4. {
  5.   int let_me_google_that_for_you = 1337;
  6.  
  7.   FILE * pFile;
  8.   pFile = fopen ("myfile.txt","a");
  9.   if (pFile!=NULL)
  10.   {
  11.     fprintf (pFile, " : [key %i]\n ", let_me_google_that_for_you);
  12.     fclose (pFile);
  13.   }
  14.   return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment