Borland C++ reference

puttext

raw OCR

Copies text from memory to the text mode screen.

Defined in header <conio.h>

Syntax

#include <conio.h>
int puttext(int   left, int top, int right, int bottom, void *source);

Portability

DOSUNIXWindowsANSI CC++ only
■

Remarks

puttext writes the contents of the memory area pointed to by source out to the onscreen rectangle defined by left, top, right, and bottom.

All coordinates are absolute screen coordinates, not window-relative. The upper left corner is (1,1)-

puttext places the contents of a memory area into the defined rectangle sequentially from left to right and top to bottom.

puttext is a text mode function performing direct video output.

Return value

puttext returns a nonzero value if the operation succeeds; it returns 0 if it fails (for example, if you gave coordinates outside the range of the current screen mode).

See also

Differences from modern implementations

Nothing recorded yet.

Modern references

These are search links, not yet checked by hand.