Sunday, 22 January 2012

Console Input

Console I/O is one of the first things you learn in C++ programming, because otherwise there's not much you can do (file I/O is harder I guess).  However, even after years of writing in both C and C++, I still get slightly muddled between the different console input methods.  I guess my excuse is there are a loads of different ways of taking input, all of which are subtly different. I finally got fed up wasting time being confused, and set to get an ultimate(?) compilation of the different console input methods, for both C and C++.

It's a pretty long ultimate compilation, so I'll just link to the pdf file.  Hope it's of some use to somebody!

No comments:

Post a Comment