November 12th, 2012, 01:50 PM
void calculateParkingHours ()
enteringMins += ( enterY * 365 * 29 * 60 );
enteringMins += ( enterM * 12 * 29 * 60 );
enteringMins += ( enterD * 29 * 60 );
enteringMins += ( enterH *...
November 12th, 2012, 11:22 AM
I'm writing a program to calculate a fee based on the time that a car is parked in a theoretical garage. But my time function doesn't seem to be giving me the correct number of minutes... I would...
November 10th, 2012, 05:59 PM
so if I extrapolated separate integers from a stream MM/DD/YY hh:mm what would be the exact syntax to use to convert that into a time format C++ can recognize and contrasts between two different...
November 7th, 2012, 03:12 PM
then how would I specify the time for difftime from a string formatted in MM/DD/YY hh:mm?
November 7th, 2012, 11:44 AM
Why do I need .c_str() also if I use difftime can I define my own times?
November 7th, 2012, 11:03 AM
thank you for replying but that's not what I would hope to do.
This is what I have so far:
November 7th, 2012, 10:27 AM
I'm trying to read in two instances of date and time (from user input) into a string value (MM/DD/YY hh:mm).
I need to be able to calculate the difference between the two in order to...