As part of a programming exercise I received the following:
“Simulator will receive orders from stdin in a simplified ascii format specified later in this document…”
“Input is received from stdin, and is in comma-separated ascii format. You may assume that the input will always be correctly formatted”
Example:
B,100322,5103,7500
This is all about the input mechnism. What i don’t understand is the stdin them mention – is that the usual console input by the user, file input etc. ?
Usual console, yes.
See http://en.wikipedia.org/wiki/Standard_streams for further details