| Synopsis |
This course leads the student from the basics of writing and compiling C programs to such advanced techniques as file I/O and dynamic memory management. All concepts are reinforced by challenging and pertinent lab exercises. The complexity of the labs increases as the students master more skills. |
| Target audience |
This course is appropriate for anyone who needs to learn C. This course can also serve as background for someone who will ultimately move on to Perl, C++, or Java, since these are all derived from C. |
| Prerequisites |
Some programming experience in a high-level language (Pascal, COBOL, Visual Basic, etc.) is highly recommended. This course assumes some knowledge of elementary programming concepts such as variables and conditional execution. No previous knowledge of C is expected. |
| Lab exercises | Students will write numerous C programs that reinforce the language elements learned. |
1. Diving into C
2. Variables and arrays
3. Control structures
4. File I/O
5. Pointers
6. Functions
7. Dynamic memory
|
8. Structures
9. Strings and Bytes
10. The preprocessor
11. Bit fiddling
12. Scope and storage class
13. Common Mistakes
14. Programming Style
15. Multiple source files
|