home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / fgl / fglight / exc.arj / TEMP / 15-08.C < prev    next >
Text File  |  1995-01-20  |  403b  |  21 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.    fg_waitkey();
  11.  
  12.    fg_suspend();
  13.    printf("Music suspended.  Press any key to resume.\n");
  14.    fg_waitkey();
  15.  
  16.    fg_resume();
  17.    printf("Music resumed.\n");
  18.    while (fg_playing());
  19.    printf("Music finished.\n");
  20. }
  21.