graphics.hlp (
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WRAP.C
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
/* WRAP.C illustrates:
* _wrapon
*/
#include <conio.h>
#include <graph.h>
void main()
{
short i;
_clearscreen( _GCLEARSCREEN );
_settextwindow( 1, 1, 25, 38 );
_wrapon( _GWRAPON );
for( i = 1; i < 80; i++ )
_outtext( "Wrap on! " );
_settextwindow( 1, 41, 25, 80 );
_wrapon( _GWRAPOFF );
for( i = 1; i < 80; i++ )
_outtext( "Wrap off! " );
getch();
_clearscreen( _GCLEARSCREEN );
}