INSTITUTE OF INFORMATION TECHNOLOGIES - BAS


Programming in C (content)

Introduction   - history, features and C application areas

Chapter 1 - Basic language elements
1.1. basic language symbols
1.2. Constants
1.3. Variables
1.4. Data types
1.5. Arrays
1.6. Comments
1.7. C-language program structure
1.8. Elementary input/output
   1.8.1 Printf function
   1.8.2 Scanf function
   1.8.3 Getchar function
1.9. C-language program developing

Chapter 2 - Operations and expressions
2.1. Arithmetic operations
2.2. Comparative and logical operations
2.3. Assignment operations
2.4. Expressions
2.5. Conditional expression operation
2.6. Sequence execution operation
2.7. Casting operation
2.8. Type "sizeof" defining operation

Chapter 3 - Program flow-control operators
3.1. Flow-control operators expressions
3.2. Conditional operator if-else
3.3. Conditional cycle operators while and do-while
3.4. Cycle operator for
3.5. Operator for cycle break
3.6. Iteration jumping operator continue
3.7. No conditional jump goto
3.8. Conditional operator switch
3.9. Nested operators

Chapter 4 - Preprocessor
4.1. Preprocessor principles. Preprocessor directives
4.2. Macro definition
4.3. Macro with arguments definition
4.4. Files including
4.5. Conditional compilation
4.6. #line directive

Chapter 5 - Functions, memory models
5.1. Function definition
5.2. Function arguments and variables scope and lifetime
5.3. Returning values
5.4. Memory models
5.5. Separate modules compilation

Chapter 6 - Data initializing and formatted input/output
6.1. Data initializing
6.2. Formatted input/output
6.2.1. Getchar and putchar functions in detail
6.2.2. Printf and scanf functions in detail

Chapter 7 - Pointers and pointer operations. Bitwise operations
7.1. Pointers definition
7.2. Pointer initializing
7.3. Special pointer operations
7.4. Pointer arithmetic
7.5. Pointers and arrays
7.6. Pointers using
7.7. Bitwise operations

Chapter 8 - Functions using
8.1. Functions and pointers
8.2. Function's pointer
8.3. Recursive functions
8.4. main function arguments

Chapter 9 - Complex data types
9.1. Structures
9.2. Structures operations
9.3. Nested structures
9.4. Structures and functions
9.5. Structures and arrays
9.6. Recursive structure using
9.7. Unions
9.8. Bit fields
9.9. Programmer defined data
9.10 Enumerated data

Chapter 10 - Input/output and memory functions
10.1. File processing functions
   10.1.1 High level input/output functions
   10.1.2 Standard input/output devices and changing them
   10.1.3 Low level input/output functions (UNIX-type)
   10.1.4 Program exiting functions
10.2. High level memory allocation functions

Appendix 1 - Standard library functions
Appendix 2 - Reference information
Bibliography
Index
To the begining