Hi I've just recently begun working on a similar assignment to the one everyones having problems with. I've read through this forum and have been trying to piece together my own code from ideas from user posts. It seemed to be starting to work.
My switch statement is obviously incomplete, but when I put the while loop inside case '\"': the program stopped reading my filename correctly and told me every filename I entered was incorrect.
I know theres already a topic on this I just need a quick response.
is Line 17 printing output ?, or is the switch not working?
if line 17 is printing out at the start of your program it's not the switch it will be something to do with the file, where it is placed, or the permissions it has.
you probably want a ';' at the end of line 37 as well.