www.delorie.com/djgpp/doc/libc-2.01/libc_548.html   search  
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.

Example

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


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997