I'm not really all that good at C++ yet. I was actually trying to program this is batch but decided that C++ would probably be a better language for this task. I am trying to build a "TimeCard" program that you can type in the hours you worked and it exports your total hours to a .txt file. I've gotten this done so far, but I'm still kinda stuck:
I know I need to collect the hours again and then subtract the first "final" from the second "final", then divide that all by 60 to get the total hours. But I also need to take into consideration that there is a lunch break also, and we tally up all the time at the end of two weeks. So I will have to enter two weeks worth of time. If someone could help me out that would be awesome.