0

What is the function \\

14th Dec 2017, 2:32 PM
THE MASK [SAN]
THE MASK [SAN] - avatar
3 Answers
+ 4
Hm... it's documented in other languages but I couldn't find this in the c++ lessons. Most languages have the problem of how to print or represent characters that you can't / shouldn't typed into the source code. To get around the problem, language writers chose an uncommon character -- the backslash -- to precede another character that represents something special, e.g.: \t horizontal tab \n newline but now... backslashes are special; how do you represent backslashes? \\ backslash Future note: The same pattern also appears in 'regular expressions' (regex)
14th Dec 2017, 3:14 PM
Kirk Schafer
Kirk Schafer - avatar
0
Thanks for the replies
14th Dec 2017, 4:10 PM
THE MASK [SAN]
THE MASK [SAN] - avatar