Hello everyone,
Just wondering, I read from a C++ book, that there is this special character:
\a
which the book said it will produce a beep sound. Being curious,
I fired up my Microsoft VC++ and tried like this:
cout << "\a\a\a\a\" << endl;
in which I hope the computer will beep several times, but it didn't.
So my question is, can this character
really produce a beep sound?
If yes, how would we use it in the C++ program?
Cheers
Ronald
ps: I also noticed in the book, there is this ASCII character
^G (BEL) --> is this the same thing as above?
FYI
===
OS : Windows XP
Compiler : Microsoft Visual C++ 6.0