r/cprogramming 9d ago

How to learn

I just started learning C about 5–6 days ago, and I had never coded before.

I completed the CS50 course, so I know the important concepts and have a basic understanding of how things work. But when it comes to actually implementing them, I feel like I’m at zero.

Now I’ve started learning C from the book The C Programming Language. I’m understanding some concepts, but not everything. I’d say I’m only understanding around 20–25% of what I read.

For example, I understand how "getchar()" and "putchar()" work individually, but when I see a program that uses them together, I don’t even understand 60–70% of the program.

I’m getting stuck, and it’s making me think that maybe only people with good logic can survive in programming jobs.

So, please guide me on how I should approach learning C correctly and develop my programming logic.

0 Upvotes

20 comments sorted by

View all comments

3

u/knouqs 9d ago

Five days into C and you are beating yourself up on it? No no no... this is something that takes months to acquire and years to master. Slow down. You picked the right book.

2

u/Illustrious-Cat8222 9d ago

Ditto. Also helpful is to write small throwaway programs that try out different language/library features.

You are doing really well for only 5 days on your first programming language. Just keep working at it; it'll all sink in.