Re: Sound signal



On Thu, 16 May 2002, Emmanuele Bassi wrote:

I've RTFM, but I did not find anything useful, so I ask here for some
help: how I make an application to emit a "beep"?

I am sure that there are many ways. Here is one:

--

#include <stdio.h>

#define BEL          7

/* And it has multi-media support... */
void
beep (void)
{
  putchar (BEL);
}

--

Hope that helps,
Chris





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]