I have a plan to get into some programming in future and C is one of the considerations and it’s very important language so I would like to ask if anyone programmer is in this community to suggest me some resources? I prefer video based courses but it sounds like books are very detailed sources of information then suggest what you know best.

Note: I know this isn’t a professional community for the subject but I know for good quality resources I have to pirate some shit so I asked the question here because the members probably have their resources from piracy so they can help me more; sorry for expecting too much from y’all but career is career.

  • Lung@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    Imo the most legit thing to do is to read an old copy of “the c programming language” which is a guide written by the authors of C. The early editions were under 100 pages, super clear to understand, and you’ll feel connected with the mentality of the creators. C is a simple and elegant language, much less complex than most modern ones

      • Lung@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        It’s just like 4x longer for no real reason. The language just isn’t that hard, and I feel like they were cashing in on publishing a million new editions. C hasn’t changed much

        Also, random plug for Go, which feels about as simple as C but tackles modern problems better (concurrency, amazing garbage collection, servers, world class tooling). Any C developer will feel comfortable with Go super quickly

  • pinchcramp@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’ve never worked on a larger C project, so I’m not the best judge, but I would recommend 21st Century C by Ben Klemens. It was very accessible and gave me a pretty good understanding of how the language worked and how to use modern versions of it.

  • B3_CHAD@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    May be this is a personal thing but whenever I am trying to learn something new, I just go the old fashioned way and get myself books on that topic. A lot of love and attention goes into writing books,making them very detailed and elaborate and imo they are still the best way to learn something. Ebooks included.

  • sorrybookbroke@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Libgen works best for me, with effective C being a reasonable resource. You shouldn’t start with C though as your first introduction to memory managment. All resources will assume you know a fair deal about the subject first. I’d suggest you go for zig, or rust or if this is your first language, python, or c# if you want a real challange. C is not a good language to learn first.