2007-03-20
05:39:16
·
4 answers
·
asked by
the man the myth the answerer
5
in
Computers & Internet
➔ Programming & Design
ok for those who have no knowledge of what i'm talking about example if i ask a user to enter a body part but use the code
cin >> bodypart;
and the user enter belly button
instead of just taking in belly and omitting or sending button to the next cin command i want it to be able to do it all in one line
i know about the function cin.getline() but i was wondering if their was a more effective way so i wouldn't have to put a limit on it
2007-03-20
06:51:29 ·
update #1