I
I
Infatum2016-04-01 01:48:02
.NET
Infatum, 2016-04-01 01:48:02

Cost of switching from C# to C++?

Good day! I would like to hear your opinion on whether it will be difficult to switch from C # to C ++, so to speak, the price of the issue. How long will it take approximately? I have some experience in C# (6 pet projects, most of which are university coursework or just for fun). I've been studying sharp for about a year, but I'm not sure that I want to connect my life with Microsoft. Why did I study the .NET stack of technologies, if I don’t really like it, I rather like programming as such, the answer is simple - they imposed it at the university. All term papers and practices were recited to us in sharpe and lowered marks if someone opposed the choice of a teacher and completed work on a different technology. I know C ++ at the level of university laboratories (we were given it in the first courses). And please advise sensible books, otherwise there are a lot of them,

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Saboteur, 2016-04-01
@saboteur_kiev

At the junior level, what problems - take it and go.
It still needs to be learned anyway.

G
GavriKos, 2016-04-01
@GavriKos

The biggest pain for a beginner that you will have to face in the pros is manual memory management. This is if the console attachments (and you should start with them!).
As for the transition time - forget such a concept - it cannot be measured. For example, you will write a simple console program for factorial calculation (if you can imagine how to write it in Sharpe) on the same day you install the studio. And you may not be able to write something very serious for another year and a half.
Books - look for a search, the topic was raised 100 times.
The transition process - in short - read a little about the syntax (Schildt), choose a small task for yourself, implement it, ask someone to check it.

Z
Zend_Arbitr, 2016-04-01
@Zend_Arbitr

The solution is good, C / C ++ - you just need it so that later anyone else can study in a maximum of 21 days). My experience is that you first need a teacher, because there will be a lot of questions not so much about the language, but even with IDEs and compilers, for example, Laforet's good book Object-Oriented Programming in C ++, but you write code from the book and there are simply unexpected obstacles with the compiler or with an encoding that can discourage desire, and this cannot be allowed. Well, if of course there was no experience with memory, then you need a mentor who will instill the right habits. I studied C / C ++ at the St. Petersburg Polytechnic University, here is the link avalon.ru/PPS/CPP. They pump from the heart. I have experience of learning from Polubentseva M.I. She has her own books, but her books should of course be used as a guide along with practice. In general, you need a real intensive, and then it will go by itself. Good luck!

A
abcd0x00, 2016-04-01
@abcd0x00

I would like to hear your opinion on whether it will be difficult to switch from C # to C ++, so to speak, the price of the issue.

Switch to C ++ / Qt, it will turn out almost painlessly. There are basic issues that will require effort. There are no pointers in C#, which is a very broad and powerful topic (in terms of getting the desired behavior from a program), intertwined with assembler - the decrepit king of programs. C++ books don't explain pointers well because pointers are explained in C books, from which C++ originated. They did not repeat the material, but simply refer to the literature. So to learn C++ itself, you will have to plunge into learning C quite well, of course, if you don’t want to have knowledge with gaps, which will then constantly pop up during the development of “oh, I don’t know here, oh, I don’t know there”.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question