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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.