|
finished and working? seems to have a bunch of errors in it.
why does it print "February" when i enter "1" for the month?
if i enter "1/1/2000" it still doesn't work.
you have the following warnings.:
test.cpp: In function `int dateValid ()':
test.cpp:43: warning: no return statement in function returning non-void
test.cpp: In function `int monthState ()':
test.cpp:55: warning: no return statement in function returning non-void
those semicolons at the end of your functions (ex "};") don't belong there (like sde pointed out previously).
i don't mean to be hard on you, i'm just telling you what is wrong and hoping you learn by fixing it.
|