- 1

How to remember what the line means? IM NOOB

I'm very noob at C++ I'm thirteen years old and desperately want to learn programming and since my friends recommended C++ language for game hacking and mod menu development also they sad its easy but it's not so easy for me because I can't remember what does the code do or what a single line of code means to the whole program I mean how do I remember this how can I associate cout<<"Hello world!"; (I remembered that one tho) with displaying text on output

16th Jun 2017, 4:52 PM
sovietcat
sovietcat - avatar
2 odpowiedzi
+ 1
To help your code be more readable give your variables, functions, methods, classes etc good descriptive and meaningful names. for instance instead of int c = 0; Use int counter = 0; Then for now, use comments to help you remember what your code is doing. Just keep practicing and writing programs. Start out with a few small programs and progress to some larger ones. The more you write the better you'll understand the code and the less you'll need the comments to tell what is going on.
16th Jun 2017, 5:52 PM
ChaoticDawg
ChaoticDawg - avatar
0
thanks alot never thought of it also one prob how do I find out the full names of the code writes for example where could I find out that int c is the same as int counter is there any website for the full names?
16th Jun 2017, 6:18 PM
sovietcat
sovietcat - avatar