D
D
dyrtage62020-09-14 22:50:32
Programming languages
dyrtage6, 2020-09-14 22:50:32

What to choose: C or C++?

After studying Python, I was very interested in the topic of system programming and robot programming (I used to work with robots). After digging around on the Internet, C will be the best language for me, but C ++ may also be suitable for these purposes. Now questions.
1. Which of these PLs is more promising?
2. Will C++ work for systems programming and robots?
3. Are there other languages ​​suitable for this purpose?
4. What else can C do besides this?
5. What literature can you recommend for these languages ​​(in which you studied)?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GavriKos, 2020-09-14
@dyrtage6

Yes, it seems that even under the pop arduino you can write on the pluses. So do not fool around and learn them right away. Although they are closely related.
On points:
1. Pros
2. Yes
3. Yes, Java for example. And in general, there are many for robots - even LOGO was.
4. Everything is a Turing-complete language. The rest depends on the libraries and the runtime.
5. Search the toaster - the question has been asked many times

S
Saboteur, 2020-09-15
@saboteur_kiev

After learning Python

Are you sure you already learned Python? Or flipped through its basics?
You need to choose between C and C ++ when you can already write at least something.
Write simple tic-tac-toe in C and C++, and then decide what you like best.

D
Daniil Demidko, 2020-09-15
@Chronicler

Take C++. Because you can write on it both in C and in C ++, but you can’t do it in C.
C++ simply covers more situations, i.e. more powerful.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question