Thread: clrscr() blues...

  1. #1
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    937

    clrscr() blues...

    Whenever I use the clrscr() function given in the FAQ and team it up with kbhit(), clrscr() holds information so the key is always being hit. Can I clear the console input buffer or something?
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  2. #2
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Lightbulb right forum!

    Im amazed u got this into the correct forum, lolz. U need to use windows API. Check Out console functions in MSDN. Also you may want to consider just deleting 'squares' you wrote to, that way its faster, and looks less 'corney'.

    SPH

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. do i need a lib for clrscr()?
    By FingerPrint in forum C++ Programming
    Replies: 2
    Last Post: 08-02-2006, 12:51 PM
  2. Question about clrscr() in FAQ (Win32)
    By Brain Cell in forum C Programming
    Replies: 9
    Last Post: 01-14-2005, 02:58 AM
  3. clrscr() in microsoft visual c++
    By canliceset in forum C++ Programming
    Replies: 7
    Last Post: 11-18-2004, 02:40 AM
  4. clrscr(); not clearing the screen
    By Noobie in forum C Programming
    Replies: 8
    Last Post: 05-01-2003, 01:44 PM
  5. Modified clrscr function
    By GaPe in forum C Programming
    Replies: 2
    Last Post: 06-01-2002, 04:07 AM