Sorry! Site is Under Construction, Link Doesn't Exist.
Logo
C++ Tutorials

Appendix A -- Escape Characters

When these appear in strings, they will be replaced by a certain character, for example
"String\n"
will contain "String" with an end-of-line character at the end, which will make the display end the line.

These work in C and C++.

Escape Sequence Character
\a Bell (beep)
\b Backspace
\f Formfeed
\n Newline
\r Return
\t Tab
\\ Backslash
\' Single quote
\" Double quote
\xdd Hexadecimal representation

 

 

Popular Links


Photo Gallery

Top Pages