SHARE
TWEET

jk123

a guest Dec 7th, 2012 21 Never
  1. if((output = fopen(outputfilename, "r+")) != NULL)
  2.         {
  3.                 printf("Output file already exists. Overwrite? (y/n)");
  4.                 scanf(" %c", &answer);
  5.                 if (answer == 'n')
  6.                 {
  7.                         return 0;
  8.                 }
  9.         }
RAW Paste Data
Top