C backslash codes

(thing) by Big Willy Wed Feb 07 2001 at 1:35:15
Useful in your C strings...

Code    Meaning

\b      backspace
\f      form feed
\n      newline
\r      carriage return
\t      horizontal tab
\"      double quote
\'      single quote
\0      null
\\      backslash
\v      vertical tab
\a      bell
\N      octal constant where N is an octal constant
\xN      hexadecimal constant where N is a hexidecimal constant

This information is taken from Teach Yourself C, 2nd ed. by Herbert Schildt
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.