www.delorie.com/djgpp/doc/libc/libc_679.html   search  
libc.a reference

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

ScreenPutString

Syntax

 
#include <pc.h>

void  ScreenPutString(const char *str, int attr, int column, int row);

Description

Beginning at screen position given by column and row, this function displays the string given by str. Each string character gets the attribute given by attr. If column or row have values outside legal range for current video mode, nothing happens. The variables row and column are zero-based (e.g., the topmost row is row 0).

Return Value

None.

Portability

ANSI/ISO C No
POSIX No

Example

 
ScreenPutString("Hello, world!", (BLUE << 4) | LIGHTBLUE, 20, 10);


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004