Posted by hussein on July 16, 2000 at 20:04:16:
In Reply to: plz help i am goin crazy posted by dumb on July 16, 2000 at 20:01:13:
: I tried using char instead of string and can't find the way to let the compiler recognize the inputs like 'new york' as one variable. AHhhhhhh I am gonna die
no, ure not going crazy (and ure not going to die) - cin only inputs the first word ... thats why the spec says you can assume every string is a single word
so, when used as test data "NewYork" should not contain any spaces