很实用的函数!!! Michael Hunter Humbug Reality activecad@ humbugreality.com modStartup this module contains DDList(), the startup routine. R0 05 Oct 97 MJHunter Option Explicit DDList ( ) returns: nothing. this function runs DDList. R0 05 Oct 97 MJH Public
C++有很多API函数,其中有一个函数叫Beep,他的功能是发出蜂鸣,前提是有扬声器,利用Beep函数可以做出一些用蜂鸣弹出歌曲的程序,下面就来做一个两只老虎的播放程序。
这是两只老虎的简谱,下面来讲解代码。
首先我们#define一下用到的音符
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 990
#define do1 1046
#d