Hi,
Whenever I use cout to output something that is not a character my computer makes a loud beep. This beep is not made by my soundcard so I can't turn it off and it means I can't use my laptop in the library. Does anyone know how to ensure that my visual c++ program will not beep when trying to output a character it doesn't recognise.
Many thanks,
Eoin

Turning off beep?
etki
If the character 7 or \a is output to cout you get that beep
cout << '\a';
cout << (char)7;
Simply avoid to output such character!