Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
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.
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.
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.
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.
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#"
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
Start with what the soul lies to and at the same time it is not clear why the soul lies to this something!
Plus one for "C first". Read Kenigan and Ritchie, then (a must!) 21st century C.
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 :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question