ok so I have what seems like a simple problem...
int date; cout << "Enter the date in MMDDYYYY format: "; cin >> date;
problem happens when someone starts the int with a 0
for example cin >> 03081991 date = 24
if I add another object after date it gets the 81991...
I was wondering if there's a simple way to fix it, I know the problem is that the int starts with 0 causing the compiler to put it in... is it base 8? BUt is there a way to just tell the compiler to not do that? or a way to ignore the 0 without ignoring it if it's a 1?
I know you guys have a policy against fully writing code for people but I assure you this is <= 1% of the project/