You are viewing the article What is clrscr() function in C programming language and how to clear panel and screen in C at Lassho.edu.vn you can quickly access the necessary information in the table of contents of the article below.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 9,172 times.
The clrscr() function is used to clear the MS-DOS console screen on older C programming language compilers such as Turbo C and Turbo C++. clrscr() is not a standard C function, so if you compile a program that includes the clrscr() function on a modern compiler like GCC or Clang, you will get a “function not declared” error ( undeclared function) or “not declared in this scope.” So what do you need to do when you want to remove the console from your program? clrscr() with the system() function used to clear the screen in C programming language.
Steps
- The clrscr() function is defined in the conio.h header file. We’ll remove the clrscr() function and replace it with system() , so you can delete the conio.h header file.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 9,172 times.
The clrscr() function is used to clear the MS-DOS console screen on older C programming language compilers such as Turbo C and Turbo C++. clrscr() is not a standard C function, so if you compile a program that includes the clrscr() function on a modern compiler like GCC or Clang, you will get a “function not declared” error ( undeclared function) or “not declared in this scope.” So what do you need to do when you want to remove the console from your program? clrscr() with the system() function used to clear the screen in C programming language.
Thank you for reading this post What is clrscr() function in C programming language and how to clear panel and screen in C at Lassho.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: