Essential Input and Output
In this chapter you’re going to look in more detail at input from the keyboard and output to the screen. The bad news is that there’s quite a lot of it, and it’s not exactly exciting stuff. The good news is that everything in this chapter is fairly easy, although there may be moments when you feel it’s all becoming a bit of a memory test, but once you have learned it, it all applies to file input and output too. Treat this as a breather from the previous two chapters. After all, you don’t have to memorize everything you see here; you can always come back to it when you need it.
Like most modern programming ...