www.pudn.com > vscr.zip > VSCR.CPP
// (C) Aleksandr G. Chukhlebov, 1999 ... // Visi-2.1 The Invisible Screen Saver // // // for any suggestions or comments use any of this to contact me: // // e-mail: alexc@miacom.net // WEB: http://www.miacom.net/alexc/ // phone: 305 940-8321 [ask for Alex] #include#ifndef __SMALL__ #error You must compile in SMALL memory model for best performance! #endif typedef unsigned char byte; void __printf(byte _x,byte _y,byte _col,byte _bkcol,char* _string); void main(void); //------------------------------------------------------------------------ void __printf(byte _x,byte _y,byte _col,byte _bkcol,char* _string) { gotoxy(_x,_y); textcolor(_col); textbackground(_bkcol); cprintf("%s",_string); } //------------------------------------------------------------------------ void main(void) { _wscroll=0; _setcursortype(_NOCURSOR); clrscr(); __printf(1,1,15,1," Visi-2.1 "); __printf(11,1,15,4," The Invisible Screen Saver "); __printf(47,25,8,0,"(C) Aleksandr G. Chukhlebov, 1999."); getch(); __printf(47,25,0,0," "); __printf(1,4,7,8,"For suggestions or comments e-mail to alexc@miacom.net\n\n"); _setcursortype(_NORMALCURSOR); }