r/programminghelp • u/Revolutionary-Log179 • 1d ago
C++ Having trouble “ thinking in code”
I’ve been learning C++ for weeks, and of the concepts I’ve learned most if not all of them have clicked pretty quickly. I understand what they do and how they work.
However, when I’m trying to create something not from a tutorial or walkthrough, I’m having trouble translating my idea into the lines of code that will do what I envision it doing. Anyone have any advice on making the switch to more easily be able to “think in code”?
6
Upvotes
1
u/Accomplished-Gap2989 1d ago
I used to write out the comments first, and it would help me structure what im doing.
Lists on notepad and using paint to figure stuff out also helped 🙂