i want to know what exactly is textmode() used for and what does textmode(c80) mean?
what is the use of textmode() in c++
Collapse
X
-
Textmode() is a function defined in conio.h........ .
Changes screen mode (in text mode)
Declaration: void textmode(int newmode);
Remarks:
textmode selects a specific text mode.
You can give the text mode (the argument
newmode) by using a symbolic constant from the
enumeration type text_modes (defined in
CONIO.H).
If you use these constants, you must include
CONIO.H.
When textmode is called, the current window is
reset to the entire screen, and the current
text attributes are reset to normal,
corresponding to a call to normvideo.
Specifying LASTMODE to textmode causes the
most recently selected text mode to be
reselected.
textmode should be used only when the screen
is in text mode (presumably to change to a
different text mode).
When the screen is in graphics mode, use
restorecrtmode to escape temporarily to text
mode.
Comment