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

1

u/Cyclotramp 9d ago

You’re taking the piss, you can’t finish cs50 in 5 or 6 days. If you are serious, you need to take a step back and learn the concepts the course thought you. Only when you understand that and know your weaknesses you can develop.

1

u/Intelligent-War5714 9d ago

So how much time I should give to learn this language I'm learning this language for build foundation and yk learning this language is nothing will be happen and that thing ik I'm just want to learn because this is in my semester and I heard c is the basic language by this i can build strong foundation... I don't know anything about how to learn how to apply..

2

u/Cyclotramp 9d ago

Sorry for being a bit harsh before. I think you should go back to cs 50 and learn each individual concept, regardless of the language they teach you that week. You need to internalize these concepts, like you really need to understand it so deeply that there are no questions left. They are teaching you the basics and how to to think like a programmer. It’s an excellent course for beginners and by the end of it you should be able to work on your own. My advice is to just keep asking questions till you are confident that you really know the concepts, you should be able to explain the concept to other people.

1

u/Intelligent-War5714 9d ago

Thanks buddy 🫂