|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
#include <pc.h> void ScreenPutChar(int ch, int attr, int col, int row);
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.
ScreenPutChar('R', (BLUE << 4) | LIGHTMAGENTA, 75, 0);
|webmaster donations bookstore||delorie software privacy|
|Copyright © 2004 by DJ Delorie||Updated Apr 2004|