Unique way to wish Merry Christmas 🎄🎅 animation text code in c language

Unique way to wish Merry Christmas 🎄🎅 animation text code in c language

Source Code:-

#include

// For Delay Read the code from txt

void delay(){
    for(int i=0; i<10000; i++){
        for(int j=0; j<100; j++)
              {}
    }
}

//For Color
void color(){
  int i=0;
while(i<100){
    system("COLOR E");
    system("COLOR 5");
    system("COLOR C");
    system("COLOR 9");
}
}

int main(){
    FILE *ptr;
    char c;
    ptr=fopen("Christmus.txt","r");
    c=fgetc(ptr);
    printf("\n");

while(c!=EOF){
    delay();
    printf("%c",c);
    c=fgetc(ptr);
}
color();
return 0;}

Content of christmus.txt file is given Below Make a Txt File and Paste the below content

          **                         
         ****
        ******            Wishing you a joyful time             
       ********                       and
      **********        a lot of pleasant memories of this season of love and magic.
     ************                 May all your dreams come true.              
    **************     
   ****************
  ******************
         ***                  
         ***                                  
         ***
********************************************************
    
      *****       ******   **********   *********       *********    **       **
      *** **     **  ***   ***          **       *      **      *     **      **
      ***  **   **   ***   ***          **      *       **      *      **    **
      ***    ****    ***   **********   ********        ********        **  **     
      ***            ***   ***          **     *        **     *          *** 
      ***            ***   ***          **      *       **      *         ***
      ***            ***   **********   **        **    **       **       ***


   *******                 ********                                                  *
  *           **     **      **     *     ***    *****  *******   ***      ***      * *       ******
  *           **     **      **     *      *    *          *      **  *   * **     *   *     *
  *           *********      *******       *      ***      *      **    *   **    *******      ****
  *           **     **      **     *      *          *    *      **        **   *       *         * 
    ******    **     **      **      *    ***    *****     *      **        **  *         *   *****  
         

               
             
Previous Post Next Post