+ 1

What is use of \a in c++

12th Mar 2018, 1:50 PM
Saurabh Sharma
Saurabh Sharma - avatar
2 ответов
+ 5
It adds a space, apparently. So, cout<<"Hi\a\n\aHi"; would output Hi Hi cout<<"Hi\aHi"; would output Hi Hi <<This is all based on me just messing around in the SL playground, so it may act differently here than elsewhere.>>
12th Mar 2018, 2:03 PM
J.G.
J.G. - avatar