Appendix C. ASCII Codes

This appendix presents ASCII codes according to decimal value, hexadecimal value, and corresponding character. Hexadecimal codes can be used to embed values into a string, as described in Chapter 2:

cout << "Hex code 6f is " << "\x6f" << endl;

Some nonprintable characters have special meanings:

Image NUL: null value

Image ACK: acknowledgment signal (used in network communications)

Image BEL: bell

BS: backspace

LF: linefeed

FF: form feed ...

Get C++ for the Impatient now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.