Hello all,
I was just wondering why this function does not write the header to the output file? The cout works fine, but it isn't writing to the output file. What am I missing or doing wrong? Also, this is the first time I've passed the input/output stuff, so am I doing that correctly? Well, I guess I'm not, or it would be working, right?
Erin Corona
CS 318.20181
Scheduler Time Maintanence Modified Again - Program 12
Due Tuesday, March 20, 2012
Input file opened correctly.
Output file opened correctly.
But the output file only does this:
Input file opened correctly.
Output file opened correctly.
All I'm asking is how do I get the header stuff (my name and class info) to show up in the output file?
Oh, wait, before I call this one solved, did I pass the input/output stuff correctly? Is that how it should look for other functions I haven't written yet too?
I just tested your program. It seems your program is dependent on machines.txt. Without that file within the same directory as your program, your program fails.
To solve this issue, create a file called machines.txt within the same directory as your program. Your program doesn't create this file, so you have to do it manually.