I'm using DevC++ and I just want to knwo how to program it to make a beep from my computer speaker thast all I woudl liek to put that in a couple of my programs but I can't gfigure out hoq just yet woudl anybody please help me...Thanks
Printable View
I'm using DevC++ and I just want to knwo how to program it to make a beep from my computer speaker thast all I woudl liek to put that in a couple of my programs but I can't gfigure out hoq just yet woudl anybody please help me...Thanks
the escape sequence is '\a'.
cout << (char)7;
Since your suggestion is system-specific, Krak, it's much better to use caround5h's standard suggestion.
While we're being system specific....
gg
besides cout<<char(7); is much better looking
something like that anyway :DCode:_asm
{
invoke beep
}
_asm