1
2
Preface.........................................................................................................................................6
Preface to the first edition ...........................................................................................................8
Chapter 1 - A Tutorial Introduction ............................................................................................9
1.1 Getting Started...................................................................................................................9
1.2 Variables and Arithmetic Expressions ............................................................................11
1.3 The for statement.............................................................................................................16
1.4 Symbolic Constants.........................................................................................................17
1.5 Character Input and Output .............................................................................................18
1.5.1 File Copying.............................................................................................................18
1.5.2 Character Counting ..................................................................................................20
1.5.3 Line Counting ...........................................................................................................21
1.5.4 Word Counting.........................................................................................................22
1.6 Arrays..............................................................................................................................23
1.7 Functions .........................................................................................................................25
1.8 Arguments - Call by Value..............................................................................................28
1.9 Character Arrays ..................