I have been using code blocks for c++ i has mingw compiler which is using gcc

it doesn't have conio.h header file

so how do i clear the screen now ................?


Recommended Answers

All 2 Replies

Moschop's link gives a good comparison of almost all the ways to clear the screen...:)

But @op: why do you need to clear the screen at all? If you are writing console apps you should not be concerned about deleting what's in the console already...
Those fancy deleting stuffs and animating-your-outputs, fall in the domain of GUI programming...:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.