I'm having trouble figuring out how to do formatted console input, something like C scanf() or C++ templated stream input. Unfortunately, console input isn't covered in much detail in TDPL book. There doesn't appear to be much discussion about the standard library at all, which was a bit disappointing.
But anyway, what different ways are there to properly do input from the console? Fetching a string with readln() is easy enough, but how could I fetch, say, an integer value? Conversely, what is the preferred method for converting string into integer or floating point values? Thanks, Michael
