Basically I am trying to use an employee ID to keep track of a clockin/clockout/overtimeEmployee IDs are 8 characters long. (ie 24001000). The following three lines are default at 0000. Then the next ID number is listed. I want my program to be able to recognize the ID and then print the changes on the correct line below the ID. So:
I was using the site seekp - C++ Reference to try to figure out how to use seekp/tellp. I've never used it before, so I am trying to manipulate the formula there to suit my needs. Really, I just have no idea how to print down a few lines using ofstream. Is there a way to do that?