Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if((output = fopen(outputfilename, "r+")) != NULL)
- {
- printf("Output file already exists. Overwrite? (y/n)");
- scanf(" %c", &answer);
- if (answer == 'n')
- {
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement