T
T
tooq2012-12-18 22:42:52
C++ / C#
tooq, 2012-12-18 22:42:52

How to learn C++?

Good evening everyone. I recently visited the Mirantis office in my city, watched how the programmers work, how everything works there, after which I decided to leave the lamp alone and move on to another symphony. In the future (4-5 years) I want to become a programmer (C# or Java) and I would do well to learn C++ first. Where to start, given that I am familiar with programming as such (pascal and php did their job), but at the same time I don’t look like a pro? Any advice on how best to learn this?

Answer the question

In order to leave comments, you need to log in

10 answer(s)
A
antonyter, 2012-12-18
@antonyter

Forget C++ if you want to become a C# or Java programmer. And about the comprehension of any language, I advise you to find a good Talmud for a beginner and start solving practical problems.

@
@sledopit, 2012-12-18
_

C#
Java

D
Dima_Kirk, 2012-12-19
@Dima_Kirk

Choose an interesting task for yourself. And implement it in c++. But in parallel, you need to read the theory. First about stl, then about template. Then programming patterns.
It also helps a lot when trying to understand someone else's code. But then it is difficult to find an interesting task. Usually this option works if you get a job and you are sent to support an already working product.

V
Vyacheslav Golovanov, 2012-12-19
@SLY_G

Petzold C. - Programming in the Key of C#
Herbert Schildt - C# Tutorial

K
Konstantin Kanaev, 2012-12-19
@Yoh_Asakura

Flenov -\u003e Troelsen -\u003e Richter
I read in that order.
Flenov is very good at bringing things up to date, simply and accessible, while Troelsen and Richter already provide in-depth knowledge.
You can read Troelsen and Richter at the same time, but it's difficult.

I
Ivan Pavlenko, 2012-12-19
@MrGobus

In the future (4-5 years) I want to become a programmer (C# or Java)
and why do you need C++ then???
In general, as experience shows, everything is decided by practice and experience, there is no way to take it like this and learn by reading a book, for example. You have to write, write and write again, and at some point you will see the light of truth, stl classes will become logical for you, and code like int x = flag?10:25; will be baby talk for you =)

M
Maxim Zubenko, 2012-12-19
@JawsIk

I will also do my part.
It all depends on how ready you are to learn.
Let me explain:
The fact is that there are those who study from books (and very successfully), and there are those who find it hard on them and at most they use books as reference books.
But the second perfectly perceive what they saw. Here, of course, video tutorials come out on top. Because literally in 3-4 months you can acquire a serious package of knowledge. At the same time, it will be structured and phased. But you need to look at several authors. Because in the video, not only the material itself is important, but also themes, intonation and practical examples. Because sometimes you fly through all the lessons with half a kick. And sometimes you wait, well, when the announcer is already finished.
Again, this does not exclude books. At the same time, you can always return to the video and also use these lessons as reference books.
But there is also the "apprentice" method. Those. when you get a job in some programming office or studio almost for free (at least in Stavropol, I know a couple of programmers who started their careers this way). Thus, you are in a team of experienced professionals from whom you gain experience. In 3-5 years you will grow to a master yourself.
Well, in all three cases, patience is very important.

N
NYM, 2012-12-19
@NYM

Just recently I was looking for a job in this direction. Thoughts about her search shared in this article . At the moment, if you start, then perhaps with something else if there is no particular dislike for this very different ...

D
Dmitry, 2012-12-19
@EvilsInterrupt

In my opinion, the author needs to find in his circle of friends someone who is very good at programming in C ++. As a rule, if this guru knows how to express his thoughts well and concisely, then he can advise something that really has value! After all, it’s not for nothing that they say: “The best Linux distribution is the one that your closest friend is rummaging around in it for.”
Among my former and current colleagues, I have quite serious C ++ connoisseurs, reading whose code you already learn a lot without any books. And if at the same time you ask a question, you get a fairly serious and well-founded opinion.
Magic: Reading code written by a good programmer + communication + continuous practice.

N
Nikolai Turnaviotov, 2012-12-20
@foxmuldercp

See what kind of thing - C # - it's for Windows - WinForms, WPF, for the Web - ASP.NET, for Windows Phone - it's all one Sharp.
That is, to draw a button in the Window is literally a couple of lines of code, the rest will be hidden from you by the IDE.
But it is for superficial programming, i.e. you will not write a driver for iron or a toy on it.
If you need to dig deep into the system - there is already C ++ - drivers, toys, etc., but to draw the same button in the same form - there will be an order of magnitude more code due to its low-level nature, at least that's how it was explained to me an employee who writes both on sharp and on pluses.
I started learning the 4th sharp from Troelsen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question