try it get date input in mm/dd/yyyy format such as:
08/07/2001.
but when I declared Int variable like:
int mm, dd, yy;
when I read in the input, only 01 up to 07 are working
and considering 08 and 09 as octal values.
Beside creating an char array to store them and convert back
to Int type, Is there a simple way to do it?
thank in advance,
08/07/2001.
but when I declared Int variable like:
int mm, dd, yy;
when I read in the input, only 01 up to 07 are working
and considering 08 and 09 as octal values.
Beside creating an char array to store them and convert back
to Int type, Is there a simple way to do it?
thank in advance,