how can I declare clrscr() in microsoft visual c++?
in borland c++, clrscr() is declared in conio.h
or doesn't microsoft visual c++ support clrscr()? or does microsoft visual c++ has another function instead of clrscr()? :confused:
Printable View
how can I declare clrscr() in microsoft visual c++?
in borland c++, clrscr() is declared in conio.h
or doesn't microsoft visual c++ support clrscr()? or does microsoft visual c++ has another function instead of clrscr()? :confused:
Read the FAQ?
http://faq.cprogramming.com/cgi-bin/...&id=1043284385
Hello,
The function clrscr() is not within the C++ standard. It was included in a few compilers, such as Borland, in the header conio.h. So far there is neither a standard function for C or C++ that will clear the screen. The languages are designed to be platform independant.
You can always learn more about clearing the screen in the FAQ area.
- Stack Overflow
well, thanks all...
Opps bit late but for
Well microsoft didnt coded them and for these reasons i have code a library for VC containing all these functions goto mysiteQuote:
Originally Posted by canliceset
www.maxpert.tk an d download conumb if you need any help how to use or link it post it on forums over there
system("cls");
system calls are not the best idea, read the same faq as Salem posted option 6
I have a 6 part tutorial on console programming at my web site. It statrs here. Clearing the screen is covered in part 2 but there are a lot of other potentially useful areas covered.