using namespace std;
cout << "\nPlease enter your birthdate (mm/dd/yyyy): ";
cin >> birthday.month >> birthday.dummy << birthday.day >> birthday.dummy << birthday.year;
cout << "\n\nYour birthday is on "<< birthday.month << "/" << birthday.day << "/" << birthday.year;
im having problems with the cin statements. here is the error message im getting:
error C2679: binary '>>' : no operator defined which takes a right-hand operand of type 'int ' (or there is no acceptable conversion)
what am i doing wrong? the dummy variable is to take in the "/" in the date format. i tried it without that. i just wont compile! please help!