+ 1

Is there are a way to "escape" escape characters?

Is there a way so I don't have to write a second backslash to print a backslash in a string?

29th May 2017, 10:55 AM
‎ɐısıօՏɐ
‎ɐısıօՏɐ - avatar
3 Answers
+ 6
using ascii value cout << char(92);
29th May 2017, 11:22 AM
Burey
Burey - avatar
+ 1
thanks :)
29th May 2017, 12:16 PM
‎ɐısıօՏɐ
‎ɐısıօՏɐ - avatar
0
"\"
29th May 2017, 11:07 AM
Jaydev Shiroya
Jaydev Shiroya - avatar