Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE *fp;
- char ch;
- char file_name[200];
- printf("Enter the name of the file you wish to read\n(PS:It must be in the .C format):\n\n");
- fflush(stdin);
- fgets(file_name,200,stdin);
- if(file_name[strlen(file_name)-3] == '.'&&file_name[strlen(file_name)-2] == 'C')
- {
- if( fp )
- {
- // ако успееш да го направиш виж дали не може да го отделиш във функция
- /*fflush(stdin);
- checks();*/
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement