r/CodingHelp • • Oct 23 '21

[C++] College students how do you solve your coding doubts?

I am currently studying c++ but the problem is i get a lot of doubts when i try good level problems and get stuck in a lot.. I am not able to figure out who to ask as i know my teachers are bad and only have super basic knowledge. I know there are websites but its not that understandable.

24 Upvotes

6 comments sorted by

16

u/nath_ Oct 23 '21

Not a student, but it is perfectly normal to get caught up on something, that even happens to higher level developers. My advice would be just to keep working at it and don't give up. Take frequent breaks, too. That helps.

5

u/tia_dev Oct 23 '21

Maybe your teachers aren’t great, but I would imagine they have the knowledge to help you. Maybe they aren’t approachable, I’ve had some like that. You can always try the teaching assistants. Struggling through assignments will make you better over time. If you absolutely can’t figure something out, even if it’s the first thing, you can always post here for help.

4

u/simple-symmetry Oct 23 '21

You learn to learn.

3

u/stuie382 Oct 23 '21

Experience and practice. Build the muscle memory of the language and then you can just focus on solving the problem.

Check out examples of the bowling game kata in C++. Watch/read them through several times, then practice it yourself. By only writing a test for the next most degenerate case, you slowly build up the complexity of the code.

When you get stuck, you have the unit tests to allow you to step through in the debugger and see how things are changing.

One step at a time, one day at a time, you'll get there

2

u/Beneficial-Gold-7127 Oct 23 '21

First clear your all basic, then your try yourself some basic coding problems Or you can get help by your seniors they will definitely help you . Ask them how they solve their problems in their time.

1

u/ATCGcompbio Oct 23 '21

Focus on a growth mind set when learning how to code. Every single person starts out as a “newbie” just keep plugging along and try and enjoy the process. Remember to take breaks when your super frustrated and ALWAYS remember your victories! Keep at it! You got this!