Answer the question
In order to leave comments, you need to log in
Do I need to learn C before C++?
Good afternoon. I plan to learn C++ (I even started a little) for competitions and my own interest.
Before that, I tried to learn C, but all the textbooks are old, there are no normal IDEs on Windows, and even the compiler is installed very strangely (Terminal is emulated, and gcc is launched there, as I understand it) .
Will I lose something if I start right away with C++? And if so, what IDEs/compilers to use?
Answer the question
In order to leave comments, you need to log in
No, you don't have to learn C before pluses.
But with the textbooks you are cunning, the language has not changed, the compilers are the same, what is difficult to install separately a compiler or any other ide (Code Blocks, Visual Studio, etc.) for this?
Another thing is whether you need it, since you could not even cope with the compiler.
"even the compiler is installed very strangely (Terminal is emulated, and gcc is launched there, as I understand it)."
Don't confuse weirdness and console.
With the latest programming language, the compiler can be run from the IDE and from the console, these things are not related. In addition, the console is a must for any compiler, because it allows you to automate the build. And in the vast majority of cases, the IDE simply runs the console compiler.
You don't have to learn C before C++. But you can solve simple problems in parallel as they are solved in C.
If you plan to make a career as a participant in the Olympiads, then approach c ++ as an improved c. In this case, you don't need to study C separately.
If you plan to make a career as a developer in c++, then learning c will be rather harmful. There is an old truth, the better a person knows c, the harder it is for him to learn c++. The reason is in different programming paradigms - procedural and object-oriented.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question