Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

c++

Name: Anonymous 2009-09-23 18:37

im new to c++ and have a little problem with a project. I need to read the input from the user that follows the following format.. LETTER SPACE NUMBERS .. The only method we've learned so far is cin for reading user inputs, and cin will only read the letter since there is a space in the user input. I've googled a bit and found the function getline, but now I don't know how to read what letter they entered and the number separately... help.

Name: Anonymous 2009-09-24 9:09

>>19
Wonderful example of how shitty the C family is.
what is?
the fact that there's about 20 ways to take input, but OP only learned one?
or the fact that it's possible to make careless mistakes in your code?

silly functional programmer, nobody uses your languages for anything except calculating factorials.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List