Posts

Showing posts from November, 2021

BEST EXAMPLE OF BLINK AND LINES OF CODE USING GOTO FUNCTION

  #include<stdio.h>  #include<conio.h>  #include<dos.h> #include<stdlib.h>   void main(){        clrscr();     int j=0;     for(int i=0; i<=80; i+=3){                 gotoxy(i,j++);     textcolor(GREEN+BLINK); cprintf("lakshman"); delay(400);        }   }

HOW TO CHANGE COLOR IN C LANGUAGE BY USING TEXTCOLOR FUNCTION AND BLINK ALSO

  #include<stdio.h>  #include<conio.h>  #include<dos.h> #include<stdlib.h>  void main(){        randomize();        while(!kbhit()){            clrscr();            gotoxy(random(80),random(24)); textcolor(GREEN+BLINK); cprintf("lakshman"); delay(400);        }   }