home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / fgl / fglight / exc.arj / TEMP / 15-06.C < prev    next >
Text File  |  1995-01-20  |  558b  |  23 lines

  1. #include <fastgraf.h>
  2. #include <stdio.h>
  3.  
  4. void main(void);
  5.  
  6. void main()
  7. {
  8.    fg_initpm();
  9.    fg_musicb("T150 L8 EDCDEEE P DDD P EGG P EDCDEEE L16 P L8 EDDEDC$",1);
  10.    while (fg_playing())
  11.       printf("Mary Had a Little Lamb...\n");
  12.    fg_waitfor(18);
  13.  
  14.    fg_musicb("L16 CC#DD#EFF#GG#AA#B O+$",2);
  15.    while (fg_playing())
  16.       printf("up the scale in two octaves...\n");
  17.    fg_waitfor(18);
  18.  
  19.    fg_musicb("T180 O2 L2 P L8 P GGG L2 D# L24 P L8 P FFF L2 D$",1);
  20.    while (fg_playing())
  21.       printf("Beethoven's Fifth Symphony...\n");
  22. }
  23.