Re:Ask HN: Learning C
by hello_moto on Sunday April 26, 2009 @11:41PM
(#580791)
Hi avinashv, I'm interested to learn SQLite. I noticed you mention that there is a "recommended for reading" version of SQLite. Would you mind pointing out where I can find it? I browsed the website and haven't had any luck to find such information. Thanks!
It's just the "amalgamation" version off http://www.sqlite.org/download.html (it's the first download link).
Re:Ask HN: Learning C
by hello_moto on Wednesday April 29, 2009 @10:33PM
(#586294)
Thanks!
Re:Ask HN: Learning C
by silentbicycle on Monday April 27, 2009 @06:50PM
(#582268)
The source for Lua is good too, as is the core userland for the various BSDs.
* Everyone is going to recommend K&R, which is fine. Find a copy of C Interfaces and Implementations as well--very good implementations with explanations of standard high-level structures.
* Read source. SQLite's source, for example, is very well written and documented, and they actually have a version to download recommended for reading (everything is in one file).
* Implement. You're going to want to try implement standard Unix commands yourself. Try writing an interpreter/compiler as well. These things give you a good grip on a wide variety of C basics and will make sure you can work well with memory management and all that.
* Assembly. This is where I would learn assembly (i.e., where I did). I don't think you need to go too far in depth, but a basic working knowledge will make debugging much, much easier.