Clear Screen Function In Dev C++
Jun 17, 2004 Dev C Clear Screen I just downloaded Dev c because the complier i was using (TC LITE) didn't allow me to make exe files. It also wasn't windows based which is a pain editing in. Jul 19, 2005 C can not clear the screen, as indicated in the FAQ Victor pointed you to. C can do a lot of things using the OS specific libraries. Dont say C cannot clear the screen. Instead, you should say standard C cannot clear the screen. That's the only C we speak of here. Thats what I said too. But dont misguide the OP by saying that. Clear Output Screen using C program. Clear Output Screen - When we run a program, previous output or other command prompt/ Linux Terminal command's output appear there. We can clear the output screen using C program. Functions which are used to clear output screen depend on the compiler, commonly used functions/methods are.
|
Is there anyway we can clear only a selected part of the console window?
clrscr() from conio.h & system('CLS') clears the whole screen.
So how to clear screen selectively?
For example, one of my old code prints this,
But i want it to be like this, just after the user enters the last element.
- 4 Contributors
- forum 6 Replies
- 1,242 Views
- 5 Days Discussion Span
- commentLatest Postby PrimePacksterLatest Post
lohath
may be u can use a loop of cout<<endl; statement to get the desired output
or try with graphics.h filling that part of the output with background colour