Thread: clrscr function in CodeBlock

  1. #1
    Registered User
    Join Date
    Oct 2013
    Posts
    24

    clrscr function in CodeBlock

    I start working on CodeBlocks and stuck in a situation. The situation is that I want to clear my output screen every time the main function calls some other functions. To do that I use clrscr() function but its not working. After spending some times on web, I found that its a non-standard function so this extension is not used by the new compiler's.
    Another thing I find that somebody suggest to use < cstdlib > library. But unfortunately it do works only for C. It works for C++.
    Any new solution to get out from this situation would be really appreciable?

  2. #2
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    Maybe you'll find answers in a very similar question posted by someone with a very similar name here

    c++ - clrscr function in CodeBlocks - Stack Overflow

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    You could also check the FAQ -> FAQ > Clear the screen? - Cprogramming.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. clrscr() function
    By spank in forum C Programming
    Replies: 11
    Last Post: 12-27-2005, 03:07 PM
  2. Fast clrscr function
    By GaPe in forum C Programming
    Replies: 24
    Last Post: 06-13-2002, 12:54 AM
  3. Modified clrscr function
    By GaPe in forum C Programming
    Replies: 2
    Last Post: 06-01-2002, 04:07 AM
  4. Clear Screen Function CLRSCR Help
    By frgmstr in forum C++ Programming
    Replies: 3
    Last Post: 11-01-2001, 04:07 AM
  5. clrscr function in VS 6.0
    By aristotle1 in forum C Programming
    Replies: 2
    Last Post: 10-24-2001, 09:53 AM

Tags for this Thread