You are on page 1of 17

:

: 2

: 3

.
: 108


.: ++
: ++

Houstan: Looking into C. A C Language textbook


C Programming Language, by Kernigan B., Ritchie D., and others
http://www.math.grinnell.edu/~stone/courses/languages/Csyntax.xhtml


The only way to learn a new programming language is
by writing programs in it. -Dennis Ritchie


1972 -Dennis Ritchie, UNIX
1977 translator \compiler\
Microsoft C, Turbo C++, Borland C++, Aztec C, Zortech
C/C++, Wizart C, Visual C++, DEV C++
:


hardware \ . Windows, Linux, Unix



. ANSI 48


I APL \Array Processing Language\, II

- .

Case-Sensitive \

,

: editor+compiler+linker+debugger
Turbo C++, Dev C++, Visual C++

,
6000
, 3000
: .


for, while, do-while, if-else,


switch-case, return, break,
continue

-2
\escape\ ,
, .

\a
\b
\f
\n
\r
\t
\v
\\
\?
\
\
\000
\xhh
\Xhh








\
?

16-

-3
\escape\

BNF , 1954, Fortran

3A
http://en.wikipedia.org/wiki/Backus-Naur_form
http://code916.gsfc.nasa.gov/Data_services/doc/df/node112.html
http://www.math.grinnell.edu/~stone/courses/languages/C-syntax.xhtml

-4
\keywords\ -


20h-space, 09h-tab, 0DH-, 0Ah-


:
y = f(x)




: main()

-2

==

You might also like