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.