For my function prototype, I have FILE*character(FILE*)
The switch statement for case 2:
What I am trying to do is open a file and display the text. But I haven't been able to do this yet. Once I can display the file, I will be able to count the characters, words, etc...
printf("\nPlease enter the name of the file you wish to open: ");
fgets(fileName, sizeof(fileName), stdin);
printf("\nThe file cannot be opened.");
printf("\nPlease check that the file exists.");
while (fgets(text,81,fname) !=NULL)
Do I just take fname out and not even use it?