3 ms·
What's a good practical but small enough project you can do with C? Typically if you are learning Ruby or Node, people recommend creating a blog. What's somethi
by jsnk 10y ago
What's a good practical but small enough project you can do with C? Typically if you are learning Ruby or Node, people recommend creating a blog. What's something like that for C?
- liveoneggs 10y agowhy not a blog? A pseudo device driver is a fun/easy project (at least for netbsd), writing a simple lib and interfacing it with ruby or node is also a good weekend project.
- clishem 10y agoA recursive descent parser.
- eternalban 10y agoGo and grab yourself the latest edition of the excellent Advanced Programming in Unix by Stevens [1]. C in practical action. (Yes, I'm in the dive in the deep end learning camp.) [1]: http://kohala.com/start/ http://kohala.com/start/
- stevetrewick 10y agoA virtual machine and assembler. This is actually pretty straightforward and lots of fun.
- mastax 10y agoAlong the same lines: an emulator for an old computer or games console.
- methodover 10y agoYou could make a small game with SDL, perhaps?
- Annatar 10y agoOne can make a commercial game title with C and SDL. Case in point: Star Control 2, a commercial title with a cult following, which had subsequently been open sourced, then modified to use SDL. Still works all the way from Windows through mobile phones to Solaris, thanks to portable C and the SDL library, and is an excellent game to boot. Original ran on DOS and the 3DO gaming console.
- a12k 10y agoI made a small database software engine. Learned a lot about pointers and C syntax, and I still use the software sometimes. SQLite is written in C, if you didn't know.
- jsnk 10y agoThat's a really cool idea. Thanks.
- keenerd 10y agoGrab an AVR microcontroller. Make a clock. Microcontroller-C is extremely different from application-C but there are many less complicated concepts. Like never having to touch memory allocation or string munging.