Answer the question
In order to leave comments, you need to log in
Should I learn C before C++?
Hello.
I recently came to the conclusion that one way or another, but I will have to learn C / C ++ for some tasks. The key reason I continued to study now is the interest in robotics programming.
I know that both C and C++ are used there. In Arduino, for example, C.
Yes, and there are other tasks where libraries written in C are used.
Does it make sense in my case before C to learn C++? Or if not, why not?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
To a first approximation, C++ can be viewed as a superset of the C language. at the expense of libraries - you from C ++ can link C libraries without problems.
languages rather differ in the programming paradigms they use. If you are programming in C++ then nothing prevents you from writing "in C style". therefore, if there is no specific task to program in C (that is, to shove bits at addresses and ports), then I think that it is not worth studying it separately.
in programming for MK, the main language is C
after C, you can easily master C ++
if you are an amateur robotics, then you can use iskra.js - from the pros: js has built-in convenient timeouts and intervals
js is easier and more convenient than C
js works everywhere - mk desktop mobile site server
is conveniently
one language for everything
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question