r/cprogramming • • Feb 27 '26
C++ Programmer wants a quick starter with C
So I've been trying to dive further in system programming, in linux, and oh boy, I thought I knew a "bit" of C. Just want some quick starter, maybe something specifically tailored to people like me if it exists.
Thanks in advance.
9
Upvotes
7
u/BooKollektor Feb 27 '26
I think that's what you're talking about...
https://learnxinyminutes.com/c/
5
u/EpochVanquisher Feb 27 '26
I would go for the K&R book, since it’s written for people who already know how to program.
6
u/WoodenLynx8342 Feb 27 '26
If you’re already comfortable with C++, you’ve basically got a head start on C. C is a much smaller, simpler language. There’s no object model, no templates, no exceptions, no STL, no RAII safety nets. You’re working with functions, structs, pointers, and manual resource management. That’s about it. The main adjustment isn’t relearning syntax, most of that carries over, it’s shifting your mindset. In C you don’t have the standard library abstractions you’re used to in C++. If you want a dynamic array, hash map, string type, etc., you either build it yourself or pull in a third-party library. Memory management is fully manual, and patterns that C++ enforces through language features (constructors/destructors, encapsulation, etc.) are just conventions in C. So the transition is less about learning new concepts and more about stripping things back to fundamentals. You’ll write a bit more boilerplate and be more explicit about memory and ownership, but if you already understand what C++ is doing under the hood, C won’t feel foreign, just lower level and more hands-on.
1
u/Abdqs98 Feb 28 '26
I've found this pdf to be helpful Source: 師大物理系 https://share.google/wYocNYjHHcaJQg73V
1
u/Acrobatic-Most-1923 Feb 27 '26
BARE C, digo OSDEV, se aprende mucho de cómo funciona C x dentro y eso es bueno para luego escribir programas más eficientes
1
u/throwaway_just_once Mar 02 '26
Try this: https://www.oreilly.com/library/view/fluent-c/9781492097273/
-2
u/arihoenig Feb 27 '26
C++ is a nearly complete superset of C. I mean in the early days it was an absolutely complete superset of C.
If you're having trouble with C, then it means you don't actually know all of C++. That's ok no one does.
-9
u/AdministrativeRow904 Feb 27 '26
You cant know c++ without knowing c so.... what??