Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.ml
c_lang·C Programming LanguagebyTruePe4rl

Code snippet archive?

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.

View original on lemmy.ml
4

4 replies

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.

3

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.

2
TruePe4rlreply
lemmy.ml

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:

edit: fixed the links

1

You reached the end

Code snippet archive? | Spyke