There used to be a a clrscr () function in conio.h include file which clears the screen, but this function is not in the conio.h file in visual C++ 6. How can i clear the screen without clrscr()?

Most likely your use of clrscr was frivolous and unnecessary, so it's better not to clear the screen at all. If you really want to do it you can use this page to help you along. But I strongly suggest that you have a ridiculously logical and good reason for clearing the screen in a console mode program.

Be a part of the DaniWeb community

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