K
K
Kirill2021-11-02 01:22:01
C++ / C#
Kirill, 2021-11-02 01:22:01

What is my mistake in learning C++?

Hello, I am a beginner programmer. My first language will be C++.
In the process of learning, I sometimes forget the syntax of the code. To be more precise, I forget part of the code.

And in the process of learning, I sometimes forget some points. Let's say I fully studied for, but I don't use while and do while, so I partially forgot its syntax.

Now let's get to the point: Is it normal for me to forget moments like this? My friend says that I must immediately memorize the entire syntax of the code, its meaning and what it is for.

Of course, I imagine in my head which function is responsible for what and roughly understand its syntax, but not by heart.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2021-11-02
Tritonov @tritonov01

This is fine. Over time, remember the basic designs. And then, I’ll tell you a secret, even seniors sometimes climb into the documentation (or look at IDE hints), for example, when they forgot the order of arguments for some standard function.
It is necessary at least once to write out a cheat sheet for yourself with all the main constructions of the language (God forbid, there will be a dozen of them). After that, you will no longer forget which construction is responsible for branching, and which is responsible for the cycle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question