S
S
sergejsu2014-01-06 05:23:30
C++ / C#
sergejsu, 2014-01-06 05:23:30

What should I start learning first, the C language or should I start learning C++ right away?

What should I start learning first, the C language or should I start learning C++ right away?

Answer the question

In order to leave comments, you need to log in

12 answer(s)
D
Diffuser, 2014-01-16
@sergejsu

If the goal is to learn C ++, then C is not worth grabbing. The better you know C, the more this knowledge interferes with mastering C ++, up to complete antagonism to the pluses on the part of seasoned developers.

Q
Q q, 2014-01-06
@Dima_Zorik

What language do you want to program in, learn it

V
Vladlen Grachev, 2014-01-06
@gwer

WITH.

I
Ilya Grom, 2014-01-06
@Gromobanan777

Do you know what you want to write? On what platform? What projects? Usually questions, when you realize all this, disappear, at least about the choice of PL. Learn just C of course . Knowing it, you can write any desktop application and choose what to do next.

T
Trrrrr, 2014-01-07
@Trrrrr

I think it's better to learn C++ right away, no matter what they say, but knowing C++ you can write in C and quickly understand the paradigm, even if you write in C in the OOP style, you will understand it without classes and so on.
On the other hand, there is no chance. When a person writes in C ++ in the style of C with classes, then it remains only to grab his head.
I also want to note that c ++ is a multi-paradigm language, it will be easy to switch from it to both java and c #.
In my experience, my first job was as a C programmer, although I never studied it. I passed the C tests and all the questions without any problems, and they successfully took me. The opposite would not have happened.

Y
Yuri Yarosh, 2014-01-06
@d00mko

Actually, OOP on sish is a very real thing, in most cases, "pluses" are needed only for specific frameworks like Qt / WxWidgets. Well, it's also worth remembering about the hacks in C ++ itself and the problems associated with them - hello Sfinae, constant casts, auto_ptr, Raii and other horrors. In general, in view of its complexity, C ++ is worth learning only when you really need it.
I can advise this .
Get familiar with Glib and Gtk - you'll realize that C++ is just an unnecessary abstraction layer.
This is what pure C templates look like for an abstract vector with any data type.
Generic is more than possible here, but perhaps not as obvious as in other languages.

R
rEAcT1oNmanT1s, 2014-01-07
@rEAcT1oNmanT1s

If you have studied Pascal before or you have a small base on programming languages, then take C ++, I study this particular language, in almost all educational institutions that improve and update their literature every year, they switch from Pascal to C ++, so as they say that pascal is already an outdated language and it is needed only for learning.
Choose an integrated development environment for yourself right away , it will be easier two or three times, download the materials for this IDE and dare the granite of science
PS I did not learn "C" or "C#"

A
Artem Kalachyan, 2014-01-06
@Bringoff

C# ) Why do you need to learn anything at all? Do you want to work as a programmer, a hobby or some task? Would you say something

D
Dmitry, 2014-01-06
@EvilsInterrupt

Start with what the soul lies to and at the same time it is not clear why the soul lies to this something!

A
afiskon, 2014-01-06
@afiskon

Plus one for "C first". Read Kenigan and Ritchie, then (a must!) 21st century C.

R
Root127, 2014-01-28
@Root127

Personally, I can suggest learning C for the beginning, although everything that can be written in C can also be written in C ++. Why Si? Well, it's more about its syntax. It is more familiar to beginners and becomes easy to understand. Once you learn C, you can try yourself in classes, you won't get bored with them :)

A
Alexey Gorshkov, 2014-02-17
@agorshkov23

C++ or C# :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question