Since you are only reading course names, i.e., just single strings, you probably do not need a separate function that reads the information for a single course from the file. That said, I doubt that...
Type: Posts; User: laserlight
Since you are only reading course names, i.e., just single strings, you probably do not need a separate function that reads the information for a single course from the file. That said, I doubt that...
What is the file format?
It looks like you are doing too much in a single function.
Write a function that reads the information for a single course from the file. Test that this function works...