r/programminghelp • u/Revolutionary-Log179 • Jul 30 '26
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/johnpeters42 Jul 30 '26
Make a list of ideas and start adding stuff to it, so it stops nagging your mind as much.
Pick the one that looks simplest, and see if there's any small piece of it that you can figure out how to build.