the above commands first clears the screen and sets the screen color to blue, next creates a window from 10th row 20th column to 20th row 50th column with red background.
try out and do get back to this forum with your comments.
If you work on MS-DOS, it will be simple.
Just include the header file conio.h, and call the clrscr() function. Just like icici said.
But if you program in Unix/Linux, there's no conio.h file in there. So you gotta do it with printf() function (I think there's other way too). Sorry I forgot the code (but you can still look for it, just run the KDevelop if you're using Red Hat, and try to look for it in Help).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.