[A89] Re: [OT] c++ help


[Prev][Next][Index][Thread]

[A89] Re: [OT] c++ help




Hey, don't get too critical.  If you have a really bad teacher (read "one like I had") then you'll
never find out that you can do multiple cin's like that - my teacher didn't even know that.  I
figured it out on my own, and when I turned in a program using it, she told me she didn't think it
would work.  That question was the kind of specific thing about functions that a lot of teachers
won't bother to tell you.  
jeffrey

--- Scott Noveck <noveck@pluto.njcc.com> wrote:
> 
> > 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
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



Follow-Ups: References: