Page 215 - C Programming
P. 215

#include <dos.h>


                       #include <conio.h>

                       #include <stdio.h>


                       main()

                       {  gotoxy(30,10); printf("BORLAND C++ FOR CONTROL");


                           do{   textcolor(RED);


                                   gotoxy(35,12); cprintf("********");

                                   outport(0x378,0xff);


                                   delay(3000);

                                   textcolor(WHITE);


                                   gotoxy(35,12); cprintf("oooooooo");


                                   outport(0x378,0x00);

                                   delay(3000);


                               }while(!kbhit());

                           return(0);


                       }
   210   211   212   213   214   215   216   217   218   219   220