PHY2004/PHY2027 Scientific Programming in C
Comments and questions to John Rowe.
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.
- Preface -
[ Printable version ]
- Introduction to C -
[ Printable version ]
- More about Variables and expressions
[ Printable version ]
- Control statements: if() while() and for()
[ Printable version ]
- Functions
[ Printable version ]
- Memory, input and output
[ Printable version ]
- Arrays, etc.
[ Printable version ]
- Dealing with text
[ Printable version ]
- Bugs and debugging
[ Printable version ]
- Organising code and data
- Bits and pieces
[ Printable version ]