4 ms·
I learned C a while back, and don't regret the time spent doing so at all. This is how I'd recommend going about it: * Everyone is going to recommend K&R, whi
by avinashv 17y ago
I learned C a while back, and don't regret the time spent doing so at all. This is how I'd recommend going about it:
* 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.
- hello_moto 17y agoHi 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!
- avinashv 17y agoIt's just the "amalgamation" version off http://www.sqlite.org/download.html http://www.sqlite.org/download.html (it's the first download link).
- hello_moto 17y agoThanks!
- silentbicycle 17y agoThe source for Lua is good too, as is the core userland for the various BSDs.