Hey there,

I’m doing some mainlining stuff for Linux phones, so it’d be helpful for debugging to know C.

Sometimes I just have to figure out what a driver does that makes it fail, which is hard without really understanding the syntax.

So the question is: What are some good resources for learning C?

I mean, I roughly know what a variable or function is, as I’ve played with Arduinos before. I don’t need an explanation that covers what programming is, but I also don’t know enough to pogram an Arduino without googling the most basic syntax all the time.

I prefer guided stuff that makes me type and think over just reading specs as purely reading specs does not mean it’ll stay in the head.

  • who@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    14 days ago

    For books, I got more use from Harbison & Steele’s C: A Reference Manual than K&R. It has been a long time, though, so it’s possible that a great new book exists now.

    For online, I recommend bookmarking this site: https://cppreference.com/w/c.html