Skip to content
Physics and Astronomy
Home Our Teaching Resources C programming
Back to top

PHY2004/PHY2027 Scientific Programming in C

This module is for people who do not already know how to program computers, so we try to take things fairly slowly. Don't be afraid to ask questions if there's something you don't understand.

Lecture notes

If you wish to print off these notes I suggest you use the printable versions.
  1. Preface - [ Printable version ]
  2. Introduction to C - [ Printable version ]
  3. More about Variables and expressions [ Printable version ]
  4. Control statements: if() while() and for() [ Printable version ]
  5. Functions [ Printable version ]
  6. Memory, input and output [ Printable version ]
  7. Arrays, etc. [ Printable version ]
  8. Dealing with text [ Printable version ]
  9. Bugs and debugging [ Printable version ]
  10. Organising code and data
  11. Bits and pieces [ Printable version ]
                                                                                                                                                                                                                                                                       

Validate   Link-check © Copyright & disclaimer Privacy & cookies Share
Back to top