Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>nosound() turn speaker off</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 nosound()               Turn Speaker Off

 #include   <dos.h>

 void       nosound(void);

    nosound() turns the PC's speaker off.

       Returns:     Nothing.

   Portability:     IBM PC and compatibles only.

   -------------------------------- Example ---------------------------------
    The following statements turn on a sound then turn it off.

           #include <dos.h>

           main()
           {
               sound(4);
               delay(500);
               nosound();
           }


See Also: delay() sound() sleep()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson