|
Are YOU talking to ME !?!?!
Now we get to actually give the computer some information. Up to now, everything was rather static. The program couldn't really do anything useful. Now we can give it information at run-time. The new command is cin. Pronounce it like you are a minister, S-I-N as in SINNER. Okay, getting back to our theme. Yo, now you can actually give your programs some information WHILE it's runnin'. Okay, cin is used a lot like cout in that you go Want an example?
See, easy. But there is something I really need to start mentioning. I have not told you about the manipulation characteristics of cin and cout. That's right, you can manipulate how many spaces are displayed and whether a variable's contents will be displayed in decimal or hexadecimal. This is going to take up two tutorials, so I am going to have to change things around. |