C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
C-1
C ASCII Character Set
ASCII Character Set in Numeric Order
ASCII Character Set in Alphabetic Order on page C-6
Overview
The two tables of the ASCII character set contained in this appendix use these column
headings:
Table C-1 is in numeric order, and Table C-2 is in alphabetic order.
ASCII Character Set in Numeric Order
Table C-1 presents the ASCII character set in numeric order; that is, these columns are
in numeric order:
Ord. (the characters ordinal number in the ASCII character set)
Octal (the character’s octal representation)
Hex. (the characters hexadecimal representation)
Dec. (the characters decimal representation)
If you know one of the above values for the character you want to look up, use
Table C-1
. If you know only the character code or the character itself (such as “NUL” or
“A”), use Table C-2
on page C-6 instead.
Ord. Character’s ordinal number in the ASCII character set
Octal Character’s octal representation (with left and right bytes)
Hex. Character’s hexadecimal representation
Dec. Character’s decimal representation
Char Character code or character itself (such as “NUL” or “A”)
Meaning Meaning of character code (such as “Null” or “Uppercase A”)
Table C-1. ASCII Character Set in Numeric Order (page1of5)
Octal
Ord. Left Right Hex. Dec. Char. Meaning
1 000000 000000 00 0 NUL Null
2 000400 000001 01 1 SOH Start of heading
3 001000 000002 02 2 STX Start of text
4 001400 000003 03 3 ETX End of text
5 002000 000004 04 4 EOT End of transmission
6 002400 000005 05 5 ENQ Enquiry