Hi,

I was wondering how I can store a date in my program.

Basically the program will work like this:

Code:
cout << "Enter the date of the appointment";
cin >> ????
I would like to store the date the user enters using some type of 'date datatype'.

I have found how to get the current date from the host system, but I'm wanting to store future dates.

Hope someone can advise me on how to accomplish this simply.

Many thanks!