
jk123
By: a guest on
Dec 7th, 2012 | syntax:
C | size: 0.18 KB | hits: 21 | expires: Never
if((output = fopen(outputfilename, "r+")) != NULL)
{
printf("Output file already exists. Overwrite? (y/n)");
scanf(" %c", &answer);
if (answer == 'n')
{
return 0;
}
}