T
T
TriedDerit2021-02-15 17:42:57
Electronics
TriedDerit, 2021-02-15 17:42:57

C or C++, where to start?

I'm interested in embedded systems programming, Embedded Software engineer job. Of the useful skills, I have initial (?) knowledge in circuitry, electronics, designing a smart home (I work as a designer) ... I need pluses, I want to start studying them.
But in all vacancies C / C ++ is indicated, is it better to start with pure C or with pluses?

I will also be glad for any recommendations on the topic of the question .. spasibo

Answer the question

In order to leave comments, you need to log in

5 answer(s)
B
Borys Latysh, 2021-02-16
@TriedDerit

In general, you immediately need to take C ++ so that you do not relearn later.
C++ is like a more extended version of C, but there are fundamental differences. therefore, the question is in the previous experience:
If OH (programming experience) is, then C ++ is definitely better right away.
If it is NOT then also C++ because it doesn't matter. Learn to navigate C++ right away, but the learning process will not be easy.

M
Maxim Siomin, 2021-02-15
@MaxSiominDev

C

C
CityCat4, 2021-02-15
@CityCat4

For embedded - C. Small devices, limited resources - where are the pluses ...

V
Vasily Bannikov, 2021-02-15
@vabka

Rust
Well or si

T
tugo, 2021-02-16
@tugo

C++
Gives more language constructs that make life easier. They may or may not be used.
You can only use namespace, that's good.
C++ support in some IDEs (IARs) has probably been around for 20 years. I won’t say for all IDEs, but I think that there are definitely 20 years too. IAR already has c++14.
It's very easy to start programming in C++ (in IAR) - in the settings you put the switch in the C++ position.
And you can continue to write in a limited subset of the language corresponding to C. And you can gradually learn the possibilities of pluses and use them.
You can learn Qt and go a little further from hardware, write applications for the Raspberry Pi. And it is also embedded.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question