Nenhum

Disponível somente no TrabalhosFeitos
  • Páginas : 239 (59580 palavras )
  • Download(s) : 0
  • Publicado : 3 de novembro de 2012
Ler documento completo
Amostra do texto
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 byValue............................................................................................. 28
1.9 Character Arrays ............................................................................................................ 29
1.10 External Variables and Scope ...................................................................................... 31
Chapter 2 - Types, Operators and Expressions ........................................................................35
2.1 Variable Names .............................................................................................................. 35
2.2 Data Types and Sizes ..................................................................................................... 35
2.3 Constants........................................................................................................................ 36
2.4 Declarations .................................................................................................................... 39
2.5 Arithmetic Operators ...................................................................................................... 40
2.6 Relational and Logical Operators................................................................................... 40
2.7 Type Conversions ........................................................................................................... 41
2.8 Increment and Decrement Operators.............................................................................. 44
2.9 Bitwise Operators ........................................................................................................... 462.10 Assignment Operators and Expressions ....................................................................... 47
2.11 Conditional Expressions ............................................................................................... 49
2.12 Precedence and Order of Evaluation ............................................................................ 49
Chapter 3 - Control Flow...
tracking img