Appendix B. ASCII Codes

The first 32 ASCII (American Standard Code for Information Interchange) characters provide control functions. In the following table, only the first 128 ASCII characters have been included. The remaining 128 characters include further special symbols and letters for national character sets, so there are many varieties of these to suit a wide range of language contexts.

Decimal

Hexadecimal

Character

Control

000

00

null

NUL

001

01

ASCII Codes

SOH

002

02

STX

003

03

ETX

004

04

EOT

005

05

ENQ

006

06

ACK

007

07

ASCII Codes

BEL (Audible bell)

008

08

 

Backspace

009

09

 

HT

010

0A

 

LF (Line feed)

011

0B

 

VT (Vertical tab)

012

0C

 

FF (Form feed)

013

0D

 

CR (Carriage return)

014

0E

 

SO

015

0F

¤

SI

016

10

 

DLE

017

11

 

DC1

018

12

 

DC2

019

13

 

DC3

020

14

 

DC4

021

15

 

NAK

022

16

 

SYN

023

17

 

ETB

024

18

 

CAN

025

19

 

EM

026

1A

SUB

027

1B

ESC (Escape)

028

1C

ASCII Codes

FS

029

1D

 

GS

030

1E

 

RS

031

1F

 

US

032

20

 

space

033

21

!

 

034

22

"

 

035

23

#

 

036

24

$

 

037

25

%

 

038

26

&

 

039

27

'

 

040

28

(

 

041

29

)

 

042

2A

*

 

043

2B

+

 

044

2C

,

 

045

2D

-

 

046

2E

.

 

047

2F

/

 

048

30

0

 

049

31

1

 

050

32

2

 

051

33

3

 

052

34

4

 

053

35

5

 

054

36

6

 

055

37

7

 

056

38

8

 

057

39

9

 

058

3A

:

 

059

3B

;

 

060

3C

<

 

061

3D

=

 

062

3E

>

 

063

3F

?

 

064

40

@

 

065

41

A

 

066

42

B

 

067

43

C

 

068

44

D

 

069

45

E

 

070

46

F

 

071

47

G

 

072

48

H

 

073

49

I

 

074

4A

J

 

075

4B

K

 

076

4C

L

 

077

4D

M

 

078

4E

N

 

079

4F

O

 

080

50

P

 

081

51

Q

 

082

52

R

 

083

53

S

 

084

54

T

 

085

55

U

 

086

56

V

 

087

57

W

 

088

58

X

 

089

59

Y

Get Ivor Horton's Beginning Visual C++®2008 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.