Pages

Aug 9, 2011

Clean up the Screen in C/C++ Using CLS

How to Clean up the Screen in C/C++



How to Clean up the Screen in C/C++

To clean up your C/C++ screen you can use system("cls"). It is very understandable that some compilers does not support cls/CLS and clrscr()



/* | Author     : Alim Ul Karim               |
   | Email      : auk.junk@live.com           |
   | Portfolio  : auk-port.webs.com           |
   | Blog       : bit.ly/auk-blog             |
   |------------------------------------------|
   | Code tested on CodeBlocks , GCC Compiler |
   | Example of cls or clean up screen        |
   |------------------------------------------|
 */


#include <stdio.h>

int main(){
    printf("Before system(cls)\n");
    system("cls");
    printf("after system(cls)\n");
}

Author Alim Ul Karim's Related Links:
Related Links :
SEO LABELS:

Clean Screen In C/C++ , 

CLS in C/C++ ,  

system("cls") in C , s

ystem("cls") in C++, Cl

eanScreen in c, 

clean the screen in C/C++

No comments:

Post a Comment