delorie.com/djgpp/doc/libc/libc_678.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX No

Example

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


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004