Hey does anyone know how to set up this program with a command line that will have: prog sound1 duration1 sound2 duration2....
void soundSequence(int sounds, int duration , int numSounds);
int main(int argc, char *argv)
Beep(1000,1000);//1kHz tone for 1 second
Sleep(1000);//Wait for 1 second!!
Beep (2000,1000);//2kHz tone for 1 seconds
Beep (4000,2000);//4kHz tone for 2 seconds
Beep (6000,4000);//6 kHz tone for 4 seconds
Thanks for your help in advance.