Just a question aout the ReadConsoleInput Funciton. It allows you read in mulitple Input records. In what way would this be benificial? Why would you want to read in more then 1 record since the input is buffered?
Printable View
Just a question aout the ReadConsoleInput Funciton. It allows you read in mulitple Input records. In what way would this be benificial? Why would you want to read in more then 1 record since the input is buffered?
There is a small performance overhead each time a function call is made. One function call to retrieve several items is more efficient than several function calls.
Also, if you decide you want to process 10 records at a time, you don't have to set up a loop to retrieve your 10 records.