www.delorie.com/djgpp/doc/libc-2.01/libc_549.html   search  
Go to the first, previous, next, last section, table of contents.


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.

Example

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


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

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