C - Lab 1
Topics:
- C language structure, syntax, and types.
- Compiling C programs.
- Similarities and differences between C and Fortran.
- Program structure: implicit programming paradigm, header files, source files.
- Developing simple C programs.
Lecture Notes: C (pdf) . Also, see notes on recursion.
Reading Assignment: Review lecture notes (pdf above) up to File Handling. Also re-read (from the Course Materials Pack.):
- B.W. Kernighan and R. Pike, 1999: The Practice of Programming. Addison Wesley.
- Appendix on Collected Rules
- Chapter 5 - Debugging
Goal of Readings: To learn how to write and run C programs with good programming style, and how to test new programs you wrote.
Homework Assignments:
-end-