These are not printing and I'm not sure why. The functions are part of a Class and Struct respectively. The calls for the function are in main and in-between opening and closing the payRollReport.txt file. The column headers are printing, so the file is opening. Anyway, PLEASE help! Thank you.
I open and close it in the main file, though on further thought I guess that it's not the same variable. If I do it in the function, it overwrites itself leaving only the last entry from the struct. Is there a way to get around this?