View Single Post
Old 11-03-2003, 07:03 PM   #4 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
well, you have several bugs in your program.

your use of isdigit() is incorrect.
your monthState() has an off-by-one error.
i think the way you cin dates is wrong as well, but it's been quite a while since i've used cin, so i'm not sure about it.

try writing a small component of the program at a time. compile, test, fix, test, fix, test, ..., and when you're confident it works, go on to the next part.
joe_bruin is offline   Reply With Quote