Answered HubPage Question: when I started to learn c language i did not use the keywords like
58clrscr() is not part of standard C or C++. It was part of the original Borland C compiler as long as the header conio.h was included in the program.
For example:
#include <conio.h> // Include the conio.h file in the program.
The conio.h header is not part of the ANSI or ISO C or C++ language definitions.That's not a problem unless you plan to write portable code that must compile accross multiple compliers and platforms.
If you are writing a console-based program, then clrscr() will clear the screen (or window) that has the console in it. The function works if you are running in a "DOS" type window or if you are running in a true windowing environment that supports a console style window.
|
C Programming Language (2nd Edition)
Price: $39.88
List Price: $60.33 |
|
C Primer Plus (5th Edition)
Price: $24.00
List Price: $54.99 |
PrintShare it! — Rate it: up down flag this hub









nicomp says:
7 months ago
Does this make sense to anyone?