How to make the hardware beep sound with c++?
Thanks
cout << "\a";
In Xcode, After compiling, you have to run the executable by hand to hear the beep.