0
Can someone explain why i should add 4 more '\' to make it balance?
2 Respostas
+ 10
\ is used for escape characters (Ex: \n for a newline). Because of this, \ has to be escaped, too, as \\.
+ 10
Also! If you don't want escape characters to take effect, you can use raw strings, which are formatted like this:
Code: R"(your text)"
Result: your text
You can even type your output across multiple lines.