[Notes] [C
Reference] [Tutorial, including notes
on C for Java Programmers]
- Introduction, number bases, writing a program
- I/O, if, while, do, & for examples for temperature conversion
The above linked examples serve as an introduction to variables, assignment, commenting, indenting, operations, and sanity checks.
- if statement
- assert and system
- while and do-while loops
- for loop (links to cin & cout examples)
- Other Variable types, ASCII table
- Shortcut Operators, Logical Operators, Precedence, ++ & --
- functions
- arrays
- strings
- pointers
- structs
- linked lists
For reference for your convenience, you may also want to look at the following:
- C Precedence table
- C Standard library (strings.h, time.h, math.h, assert.h, etc.)
- If covering this material after Java, see the MS Word document on C for Java Programmers.
- See the nice page on C for Java Programmers at Cornell. (includes link to the slightly dated Kernighan's C tutorial)
- C tutorials: (found by doing a search in www.google.com for: C tutorial )
Steve Holmes, A. D. Marshall
[CS Dept] [UIC]
[Prof. Reed]