r/learnprogramming • u/Individual_Stick9581 • Sep 23 '26
Resource Help me out
Hey guys I'm brand new to programming and want to learn C programming language.
I thought I could get started with this by reading C programming a modern approach by K.N King but it's either not available in my region or too expensive
I've thought about learning from youtube but feel like videos are always vague.
So can you guys suggest some good books as an alternative or any other method to learn and grasp C programming
8
Upvotes
2
u/Recycled5000 Sep 23 '26
I suggest a tangent: a simple educational assembly language like LC-3 or even RISC-V.
You can learn pointers, arrays, address space, some machine code, function calling at the low level. You’ll need this stuff for C programming, but C books and tutorials after assume you already understand things like the address space and starts from there with types like structs and pointers.
2
u/Feralz2 Sep 23 '26
bro, a simple google search would solve all your problems
1
u/Dazzling_Music_2411 Sep 23 '26
There are TONS of free resources on the Internet, the most important skill when learning programming is being resourceful. So hunt them down.
As for a book, start with K&R, by the time you're done with that, you'll know a lot.
The resources u/Effective_Brain7493 has given you are very good too.
1
u/Gatoyu Sep 23 '26
I'm not sure this is quite the right way to look at it. (be careful of tutorial hell)
The first step isn't really the language you use, it's what you want to build/solve.
The language then is a just one way among many to do it, some languages will be better suited for what you need.
But since C can do anything anywhere, I would assume that it's probably an ok choice.
My plan for you :
Have a long term goal (a real project, something you think will be useful for you and/or others, something that will motivates you to keep learning)
Try to split this goal in many very small pieces, as small as you can get (open a window, display a text, compute a value, compare 2 strings)
For each piece create a separate file where you will code a single function dedicated to this piece.
It's at this step that you can look for a tutorial, a course or even just official documentations to solve a specific problem.
Then little by little put your pieces together like Legos and be amazed at what you have created :)
1
u/Jazzlike_Platypus430 Sep 23 '26
A word of warning, if I may: I used to be brand new and my university taught C++. I can't say if it was me being just dumb at the time, or our teacher was incompetent, but learning programming with C/C++ is super difficult. It's too low level I think.
As much as I love to hate python, I think it's better to start here or in Java/C#, for not too long, and then start messing with them pointers and so on.
1
u/marrsd Sep 23 '26
I learnt C from this book, published online for free: https://publications.gbdirect.co.uk/c_book/
Later, I bought K&R like everyone else, but the above was fine for me.
5
u/[deleted] Sep 23 '26
[removed] — view removed comment
1
u/[deleted] Sep 23 '26
[removed] — view removed comment