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


ScreenPutChar

Syntax

#include <pc.h>

void  ScreenPutChar(int ch, int attr, int col, int row);

Description

This function writes the character whose value is specified in ch with an attribute attr at row given by row and column given by col, which are zero-based. It does so by directly accessing the video memory, so it will only work when the screen is in text mode.

Return Value

None.

Portability

not ANSI, not POSIX

Example

ScreenPutChar('R', (BLUE << 4) | LIGHTMAGENTA, 75, 0);


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