|
From: Brion K. <bri...@bi...> - 2003-09-23 06:10:36
|
#include <iostream>
using std::cout;
int main (void)
{
cout << "\t\07\nhere comes the bell\n\n";
system("PAUSE");
return(0);
}
Hi William, This works for me.
Brion
----- Original Message -----
From: William Mc Coy
To: dev...@li...
Sent: Tuesday, September 23, 2003 8:21 AM
Subject: [Dev-C++] Re: Ring Bell (BEEP)
Hi Guy's.
I'm new to 'C' (NEWBIE). My question! Has anybody ever gotten the "BEEP"
function to work in a console program?
Both of the books I'm reading, state by using the '\07' parameter in a
printf function will ring the system Bell.
I'v tried using DEV-C++ (GCC) & also the WIN32 compilers, with no results.
My OS is XP home edition.
Thanks.
Everyone have a nice day.
William
|