I've been looking for a way to calculate a future calendar date in C++ using local time, but so far no dice.
Basically I want to add 3 days (for standard delivery) OR add one day (for overnight delivery) to the CURRENT time (printed in MM-DD-YYYY format and which is retrieved by the computer). How do I do this simply [no algorithms required] in C++?
Output would look like this:
Would you like overnight delivery [Y/N]? Y
Today's Date: 03-25-2017
Your Expected Arrival Date: 03-26-2017
Would you like overnight delivery [N/Y]? N
Today's Date: 03-25-2017
Your Expected Arrival Date: 03-28-2017