About 23,300 results
Open links in new tab
  1. How to clear console in C language? - GeeksforGeeks

    Nov 11, 2022 · In C, \e[1;1H\e[2J regex is used to clear the console screen just like any other method or function. Where /e provides an escape. and e [1;1H] place your cursor in the upper …

  2. c - How to clear the output screen in Code::blocks? - Stack Overflow

    Oct 29, 2011 · Clear Output Screen - Depends on compilers and Operating System, we can use one of the following method depending on the compiler. Using clrscr() - For TurboC Compiler; …

  3. What Is clrscr() in C? Clearing the Console and Screen in C - wikiHow

    Mar 3, 2025 · clrscr() is not a standard C function. It was only used to clear MS DOS consoles in Borland compilers like Turbo C. If you want to clear the console screen in C, you'll want to use …

  4. How do you clear the console screen in C? - Stack Overflow

    Feb 27, 2010 · On Windows, it will use conio.h 's clrscr(), and on Linux, it will use ANSI escape codes. If you really want to do it "properly", you can eliminate the middlemen (conio, printf, …

  5. Clear Screen using C++ - Stack Overflow

    Jun 27, 2013 · Replace C with C++ and it applies to your case. Try this: it works both on Linux and Windows. This is a string of special characters that translate to clear the screen …

  6. How to clear output screen in C programming Language?

    Using clrscr () - For TurboC Compiler. clrscr () is a library function declared in conio.h header file. This function clears the output screen. Consider the following program. clrscr (); /*clear output …

  7. clrscr in C - Programming Simplified

    Function "clrscr" (works in Turbo C++ compiler only) clears the screen and moves the cursor to the upper left-hand corner of the screen. If you are using the GCC compiler, use system …

  8. clrscr in C - Tpoint Tech - Java

    Aug 28, 2024 · Clearing the screen is typically accomplished using functions provided by compilers or libraries. One commonly used function is clrscr () in the C programming …

  9. Clear Console in C - OpenGenus IQ

    Clrscr () is a library function in the c language. It is used to clear the console screen. It moves the cursor to the upper left hand of the console. Clrscr () function is used with conio.h header file. …

  10. How do I clear my screen output? - Heimduo

    Function “clrscr” (works in Turbo C++ compiler only) clears the screen and moves the cursor to the upper left-hand corner of the screen. If you are using the GCC compiler, use system …

  11. Some results have been removed
Refresh