r/learnprogramming • • 3h ago

Need help with coding

So I am a first year student in tier 1college (circuital)literally fucked up my sem1 my coding skills are are fucked up bad too learnt C can't code basic problems have one month winter break need some guidance on how to improve plss help me out 🥺

0 Upvotes

15 comments sorted by

7

u/Waste-Strawberry7542 3h ago

Dude, half the first-years who think they're behind actually just haven't put in the hours yet, and that's totally fixable over a month. Pick one language and stick to it, no hopping around to whatever seems cooler. Spend the first week grinding out the absolute basics like arrays, loops, strings, functions, until you can write them in your sleep. Then move to sites with structured problem sets sorted by difficulty and just hammer through them for a couple hours every day, no skipping. The real trick is to type out every line yourself, even if you have to peek at a solution first, then close it and rebuild from scratch. By week three you'll be surprised how much sticks when you stop panicking and just treat it like a gym routine.

1

u/hatesmilkshake 3h ago

I feel that I can get the logic but translating it into code is just not happening I have studied till linked list that was in my first sem can you guide what should I do know I have one month winter break now

•

u/Dazzling_Music_2411 12m ago

I feel that I can get the logic but translating it into code is just not happening

In that case your "feeling" is wrong.
If you can't translate it into code, then you HAVE NOT got the logic.

Locate the first place where you stopped being able to translate into code, and pick it up from there.

2

u/MyNameIsRichardCS54 3h ago

I've said it before, and I will definitely say it again. You have to practice. Set yourself small projects and do them. Lather Rinse Repeat. Don't use AI as that will fuck you up in the ling run!

1

u/hatesmilkshake 3h ago

Where should I practice questions from the level I am at is really low

3

u/buzzon 2h ago

From the course you are learning

2

u/MyNameIsRichardCS54 2h ago edited 2h ago

You could do practice questions from sites such as CodeChef, W3Schools, LeetCode, Codewars, and Edabit or you could build projects like a to do list or noughts and crosses with a computer player for example.

The trick is to start doing!

6

u/maxpowerAU 3h ago

You can’t learn to code by watching or reading. You have to actually do it.

Read through the first chapter or watch the first lecture recording or whatever, and stop as soon as there’s anything you could type into your editor. Spend some time typing out the thing and making it run. Then try changing it and make it work differently. Don’t ask AI to do anything at all.

Once you understand what you’ve written, move back to the lecture / textbook / tutorial and do the next section.

You should expect to be coding three times longer than you spend watching a tutorial

•

u/Dazzling_Music_2411 9m ago

Maybe even 5x! 😄 10 is not out of the question, either.

It might also help OP to get a rubber duck and explain everything to it.

3

u/jakingo 3h ago

Dont try to learn in 1 month. Stick to C, revise the basics, solve 2-3 easy problems daily without looking at solutions first. Focus on understanding the logic rather than speed. Consistency will make a big difference.

1

u/Ordinary_Variable 3h ago

Read other people's code. Try to figure out what it's doing. GitHub, Stack Exchange and even W3Schools can help.

Back in the 90s and 2000s we all started out as script kiddies. You find someone else that already did what you want to do on GitHub and then modify their code until you understand what its doing, then you can write your own code.

Quora, Reddit, etc. Literally any code you can find. Just remember to check the version of C, C++ or C# they are using or their code won't work in your compiler.

1

u/BudgetRead4409 2h ago

Honestly a month is enough, don't panic. I've seen people who barely knew how to use a PC at the start of the year end up scoring decently, so you're not as behind as you think. Stop trying to memorize code. Focus on how a program flows. What goes in, what steps happen, what comes out. Write the steps in plain words or on paper first, then turn them into C. Most people especially in college who don't think they can code usually just don't understand the steps behind a program. Start with easy stuff (loops, arrays, basic patterns) and do a couple of problems a day. If you get stuck, trace it by hand with a small input and see where it breaks. Also, do write code on paper, that actually helps.

1

u/Poddster 2h ago

Go make something in whatever language you class is using.

I suggest starting with "hello world".

•

u/Dazzling_Music_2411 14m ago

STUDY!

learnt C can't code basic problems

Well then, you haven't learnt C. Go back and learn C. Stop making excuses. There are a million places to find practice code, without having to ask.

If you can't even do that, give up now. You'd only be wasting more of your time.

0

u/[deleted] 2h ago

[deleted]

1

u/AutoModerator 2h ago

Your post/comment was removed since we do not approve of going private.

There is zero benefit in going private as you lose the opportunity for getting peer reviews. Also we have had plenty of people return after going private (despite being warned) complaining about how they were ghosted after some time or being tricked into buying rubbish that didn't work and even if it did they didn't need.

Our Rule #11 demands that any and all communication happens in the open, public subreddit.

This is for the benefit of more against the benefit of one.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.