Just wondering, I read from a C++ book, that there is this special character:
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?
ps: I also noticed in the book, there is this ASCII character
^G (BEL) --> is this the same thing as above?
OS : Windows XP
Compiler : Microsoft Visual C++ 6.0