+ 1
What is use of \a in c++
2 odpowiedzi
+ 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.>>