Go to the first, previous, next, last section, table of contents.


textmode

Syntax

#include <conio.h>

void textmode(int _mode);

Description

Sets the text mode of the screen. _mode is one of the following:

LASTMODE
The text mode which was in effect before the last call to textmode().
BW40
40-column black and white (on a color screen)
C40
40-color color.
BW80
80-column black and white (on a color screen)
C80
80-column color
MONO
The monochrome monitor
C4350
80-column, 43- (on EGAs) or 50-row (on VGAs) color

See section _set_screen_lines, for a more versatile method of setting text screen dimensions.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.