ReadConsoleInput Reading Multiple Records

This is a discussion on ReadConsoleInput Reading Multiple Records within the Windows Programming forums, part of the Platform Specific Boards category; Just a question aout the ReadConsoleInput Funciton. It allows you read in mulitple Input records. In what way would this ...

  1. #1
    Registered User manofsteel972's Avatar
    Join Date
    Mar 2004
    Posts
    317

    ReadConsoleInput Reading Multiple Records

    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?
    "Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
    -- Cowper

    Operating Systems=Slackware Linux 9.1,Windows 98/Xp
    Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)

    You may teach a person from now until doom's day, but that person will only know what he learns himself.

    Now I know what doesn't work.

    A problem is understood by solving it, not by pondering it.

    For a bit of humor check out xkcd web comic http://xkcd.com/235/

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 01-28-2008, 02:07 AM
  2. Reading multiple files in C
    By anjanaanupindi in forum C Programming
    Replies: 8
    Last Post: 10-03-2007, 05:35 AM
  3. reading multiple files in C
    By anjanaanupindi in forum C Programming
    Replies: 1
    Last Post: 10-01-2007, 07:25 AM
  4. why Multiple define error ...
    By nilathinesh in forum C Programming
    Replies: 2
    Last Post: 10-19-2006, 06:31 AM
  5. Reading multiple integers with scanf
    By Argentina in forum C Programming
    Replies: 0
    Last Post: 02-18-2002, 09:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21