¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 1
What is use of \a in c++
2 Respuestas
+ 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.>>