I was just wondering if there are some really good websites to learn some tricks in C. As a not so beginner programmer I would really appreciate any kind of C snippet archive or something to find inspiration. I occasionally find some gold while watching Tsoding streams, but that experience is usually less dense in terms of fancy code and focuses more on problem solving.
On the off-chance you haven’t checked stackoverflow, C was much more popular in that site’s heyday, and snippets were certainly something it was good for up until microsoft bought it.
If you’re still interested, I’ve found tons of interesting techniques in open source projects, like CC and right now reading GLib source code, as I’m mostly interested in compile time guarantees and generic programming, I’d suggest starting with CC’s source code.
I am still interested and even found some new things. I completely agree with reading the source code to be the best way to learn.
Here are some other resources I’d consider worth mentioning over here also for anyone reading this in the future:
- a book by Adam Tornhill on C patterns leanpub
- Github repo with pattern implementation Github
- Tsoding Daily Youtube
- Magicalbat Youtube
- https://stackoverflow.com/questions/4112796/are-there-any-design-patterns-in-c
- Eskill Steenberg Youtube
edit: fixed the links
If it means anything, i appreciate the links now :)


