cool ringtone using c program

Discussion in 'Movies, Music & TV' started by kishore415, Dec 21, 2007.

  1. #1
    #include <dos.h>
    #include <stdio.h>
    float main(void)
    {
    float A,Bb,D,G,F;
    A = 440;
    G = 780;
    Bb = 461;
    D = 586;
    F = 687;
    sound(G);
    delay(500);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(G);
    delay(500);
    nosound();
    sound(2*D);
    delay(500);
    nosound();
    sound(2*A);
    delay(250);
    nosound();
    sound(2*Bb);
    delay(250);
    nosound();
    sound(2*A);
    delay(250);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(F);
    delay(500);
    nosound();
    sound(2*A);
    delay(500);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(2*A);
    delay(250);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(F);
    delay(250);
    sound(G);
    delay(250);
    sound(2*A);
    delay(250);
    sound(2*Bb);
    delay(500);
    sound(2*A);
    delay(500);
    sound(G);
    delay(250);
    sound(F);
    delay(250);
    sound(D);
    delay(500);
    nosound();
    //end 1
    sound(G);
    delay(500);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(G);
    delay(500);
    nosound();
    sound(2*D);
    delay(500);
    nosound();
    sound(2*A);
    delay(250);
    nosound();
    sound(2*Bb);
    delay(250);
    nosound();
    sound(2*A);
    delay(250);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(F);
    delay(500);
    nosound();
    sound(2*A);
    delay(500);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(2*A);
    delay(250);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(F);
    delay(250);
    sound(G);
    delay(250);
    sound(2*A);
    delay(250);
    sound(2*Bb);
    delay(500);
    sound(2*A);
    delay(500);
    sound(G);
    delay(250);
    sound(F);
    delay(250);
    sound(D);
    delay(500);
    nosound();
    //end 2
    sound(2*A);
    delay(250);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(F);
    delay(250);
    sound(G);
    delay(250);
    sound(2*A);
    delay(250);
    sound(2*Bb);
    delay(500);
    sound(2*A);
    delay(500);
    sound(G);
    delay(250);
    sound(F);
    delay(250);
    sound(D);
    delay(500);
    nosound();
    sound(2*A);
    delay(250);
    nosound();
    sound(G);
    delay(250);
    nosound();
    sound(F);
    delay(250);
    sound(G);
    delay(250);
    sound(2*A);
    delay(250);
    sound(2*Bb);
    delay(500);
    sound(2*A);
    delay(500);
    sound(G);
    delay(250);
    sound(F);
    delay(250);
    sound(D);
    delay(500);
    nosound();
    return 0;
    }

    compile it and run for cool airtel ringtone...
     
    kishore415, Dec 21, 2007 IP
  2. Dimpi

    Dimpi Peon

    Messages:
    191
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Oh Nice Program, But should it work or not, i have turbo c software not installed, just tell me if it works or not ?
     
    Dimpi, Dec 21, 2007 IP
  3. kishore415

    kishore415 Well-Known Member

    Messages:
    1,462
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    160
    #3
    it works friend ,try it ...just download turbo c and test
     
    kishore415, Dec 21, 2007 IP
  4. SEOfit

    SEOfit Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i m not ok with turbo c. how can i enjoy it ?
     
    SEOfit, Dec 24, 2007 IP
  5. kishore415

    kishore415 Well-Known Member

    Messages:
    1,462
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    160
    #5
    it takes two minutes to enjoy the song......just download turbo c here
     
    kishore415, Dec 24, 2007 IP
  6. Actaviosan

    Actaviosan Guest

    Messages:
    216
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It does not work with turbo C, it gives 3 errors.
     
    Actaviosan, Dec 24, 2007 IP
  7. kishore415

    kishore415 Well-Known Member

    Messages:
    1,462
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    160
    #7
    it works perfectly.......can you say the errors if possible.
     
    kishore415, Dec 24, 2007 IP