C Programming Tools First Lecture: 29th May 2018
d.white@imperial.ac.ukI've just given the first lecture of my 4 first year lectures on C Programming Tools, building a toolbox of useful tools, and the craft skills to use them effectively, in order to make C programming easier. This year, I'm working with my colleague Evangelos Ververas, who will be giving the second lecture.
The first lecture covers the following topics:
- Programmer's Editors: Use a single editor well.
- Automating Compilation: Use make.
- Multi-directory C projects with libraries.
In the lecture, I strongly recommend The Pragmatic Programmer by Hunt & Thomas. The woodworking metaphor and many inspirational tips come from there. A few years ago, I wrote a review of this book in my Professional Software Development webpages, please find it here.
Here are the lecture materials, covering the lecture and associated examples (of which there are many):
- Here are the full size lecture notes (PDF), ie. with one slide per page.
- Here are the 4-up lecture notes (PDF), ie. with 4 slides per page.
- And here's the C Tools tarball, as a gzipped tar file:
- Download this into your home directory,
- Then extract the contents via:
tar xzf c-tools-lecture1.tgz
- This creates a directory called
c-tools-lecture1
(Don't forget to delete the tarball later to save space!)- Explore the
c-tools-lecture1
directory, I suggest you start with the top level README and Makefile.- It's important to do
make mkdir
as the README tells you to do, if you forget this later stages will fail.- The slides are done with LaTeX's Beamer presentation class with Ann Arbor themed decorations. LaTeX still rocks! See lecture/Makefile in the tarball for details.
d.white@imperial.ac.uk
Updated: May 2018Back to my C Tools Lectures Pages. ![]()
![]()