Sunday, August 2, 2009

What is the new syntax of "clrscr()"?

What is the new or the latest syntax of clrscr()? For example, when I use it in Dev-C++? Or according to Walter Savitch's Second Edition Book? Give as many as you can... thank you very much....

What is the new syntax of "clrscr()"?
Windows


system("cls");





Unix


system("clear");
Reply:Since clrscr(), which is part of conio.h, is a non-standard C or C++ function, you'll have to look up how Borland has it implemented. As I recall, it's nothing more than clrscr() by itself.

gift baskets

No comments:

Post a Comment