2 ms·
There's "Learn C The Hard Way" -- http://c.learncodethehardway.org/book/ http://c.learncodethehardway.org/book/ . It teaches you the essential, modern practice
by rectang 12y ago
There's "Learn C The Hard Way" -- http://c.learncodethehardway.org/book/ http://c.learncodethehardway.org/book/ . It teaches you the essential, modern practice of developing with Valgrind right away.
I'd also suggest going though the exercises in "Computer Systems -- A Programmer's Perspective", which uses Linux, C and some assembler. http://csapp.cs.cmu.edu/ http://csapp.cs.cmu.edu/ Good C programming is mostly about good computer science, because the C language is small but you operate close to the metal.
K&R remains a marvel of concision, but its blithe, unskeptical usage of the C standard library is outdated and problematic.
- cushychicken 12y agoI think the best (or at least my favorite) thing about Learn C The Hard Way was an extra credit assignment of going through the K&R book and finding a way to break every piece of sample code. Talk about a learning exercise.