[A89] Re: [OT] c++ help
[Prev][Next][Index][Thread]
[A89] Re: [OT] c++ help
> hey i have to make a program that tells the day of the week of a certain
> date...for example 1983 23 7, was a friday...what i need to know is how
> to i get the 1982, 23, 7 seperate...the user will enter it like this
> "1983 23 7" and i need to get 1983 alone, and 23 alone and 7 alone
C++ input? You should immediately turn to cin, which is perfect for you in
this case. But if you can't do simple homework like this yourself -- and
this is the very basics -- you're in serious trouble.
-Scott
Follow-Ups: