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:
Anonymous2009-09-24 10:55
hay everybody, lets create more abstraction!
who cares if everybody will forget things like how to write a kernel, lololol, that stuff is for eggheads. asm, C? too low level, completely useless in this day and age - only fools use it, too easy to make mistakes!
writing code needs to be easy! i want my baby to be able to replace me at my job.
to write a computer program, all you should need to know how to do is type. ammirite?
hey, hey, if we ever need to write an operating system again we'll just write it on top of an existing one - like a wrapper. a wrapper around a wrapper around a wrapper around a wrapper. who cares if it'll become exponentially more slow with every layer of abstraction, the point is that it's easy and you can't make mistakes XXXDDDD