home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Sensations!
/
sound_sensations.iso
/
miscprog
/
soundf
/
source.cod
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-21
|
254b
|
22 lines
#include <stdio.h>
int main(int argc, char *argv[])
{
int a,b,c,d,e;
d=argc-1;
e=atoi(argv[1]);
for(a=2;a<=d;a++)
{
b=atoi(argv[a]);
b=b * 100;
sound(b);
delay(e);
nosound();
if(kbhit()) c=getch();
if(c==27) exit();
}
}