What is the command nosound() in C++ used for. Does it switch of the system sound as the name implies. Puzzled with this!!! Somebody solve the puzzle.
Printable View
What is the command nosound() in C++ used for. Does it switch of the system sound as the name implies. Puzzled with this!!! Somebody solve the puzzle.
Yes you are right. As the name implies the nosound() function which takes no arguments turns off the sound. But remember to include the header file <dos.h> when using this function as the function definition is present in this header file.