C - General Programming - Beep function

In this tutorial we will see a simple beep function. Let's take an example of the beep function:

** Made by BadproG.com                                                          

#define	       	SOUND_IT(x)    (x-'@')
#include        <stdio.h>

void    beep(void)

int     main()

Just compile and each time you will execute it, you will hear a simple beep.

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Refresh Type the characters you see in this picture. Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.