r/C_Programming • u/addicted_2_redbull • 5d ago
Question Can I learn C while learning low level concepts
Im just starting out programming, I got familiar with python. But I want to get into system programming. I know that I should learn low level concepts and data structures, I got books to read up on it but I'm just wondering if I can learn the language while learning the essentials to c programming... Sorry if this is a stupid question
25
Upvotes
2
u/goldenfrogs17 4d ago
The C Programming Language by Dennis M. Ritchie and Brian W. Kernighan
14
u/Apprehensive-End6779 4d ago
yes
7
u/mikeblas 4d ago
At exactly the same time? Probably not. Most people get familiar with the language first; it shouldn't take long, given your previous experience. Learn the tools: how does your compiler work? What does the linker do? How do you use the debugger?
You'll want to learn about structures (the
structkeyword) in C. And then you'll want to learn about pointers and memory allocation before you learn about textbook data structures. You'll need pointers and dynamic memory allocation to implement non-trivial data structures.3
u/AntMan5421 4d ago
yeah you're good
3
u/YogurtclosetLow7064 4d ago
Yes
3
u/ReallyEvilRob 4d ago
C is the perfect language to learn about these kinds of concepts.
2
u/Due-Mortgage-6854 4d ago
yepp
2
u/DanKegel 4d ago
YES!
2
u/othd139 2d ago
I'd say that's probably the most normal route to learning actually both of those things. I went via nim (which worked very well for me since it can be very python like or very C like depending on what U do with it) but honestly just learning with C is a classic for learning low level programming and honestly not that bad in terms of learning curve (so long as you avoid C++)
1
u/Kale 3d ago
I feel like I got the most knowledge and feel for C initially with the book "Learning Algorithms with C". I read it about 20 years ago. Rather than learn C, learning how to do things in C helped me learn it faster. And coming from Java and Fortran, it was great seeing pointers be used in an algorithm (linked list) to get the concept.
1
u/mkhanwrites_ 3d ago
Sure
0
u/[deleted] 4d ago
i genuinely didnt know it was possible to learn c without learning low level concepts.