View Single Post
Old March 5, 2015, 18:03   #2
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
I would recommend shelling out for "The C Programming Language, 2nd Edition" (Kernighan and Richie):
http://www.amazon.com/The-Programmin.../dp/0131103628

The coding style it espouses is IMO a little dated; but it is still the best book on programming I know of, both as a tutorial and as a reference.

If you prefer a free book, I recommend this one:
http://publications.gbdirect.co.uk/c_book/

There's a PDF version at the link above.

Obviously, do the exercises. Maybe not so obviously, read other people's code. Angband is not a very pretty codebase at the moment, but it is handy for this.

Disclaimer: I'm actually a pretty awful programmer.
Therem Harth is offline   Reply With Quote