F
F
falcon5552020-02-12 10:46:22
Electronics
falcon555, 2020-02-12 10:46:22

How to make a curriculum for learning C++, how to choose the order of books?

Good afternoon ! Help with the choice of literature. My ultimate goal is to program microcontrollers with c++ (is it possible to replace c with c++) and write a program to work with SDR receiver. I am ready to devote 6 hours every day to study, this topic is very interesting. C++ attracts with its complexity. I have already picked up a course on the study of electronics, now I need literature to study C ++ from scratch (I have little programming experience) to the pro level (I will spend 3 years daily for 6 hours of classes).
How Deitel picked up his first book C++ Programming. What literature to pick up next, as a second level? What mathematical apparatus needs to be improved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rk, 2020-02-12
@ultrasonique

Most often, those who want to write software for microcontrollers in C ++ already know C ++ and do not want to change their habits. There are, of course, people who write multi-story logic on frail MK and believe that C ++ will ease their suffering. There are just C++ geeks who love C++ and don't like anything else. What is your ultimate goal really? If you want to:

  1. Learn how to write simple programs in C++
  2. learn how to simply write any programs for a spherical microcontroller in a vacuum

and decided to combine the useful with the useful, then, in my opinion, these tasks should be divided. To learn C++, read Stroustrup (Bjarne Stroustrup - The C++ Programming Language), write programs for the PC and everything will be fine. As far as microcontrollers are concerned, I think C is a more suitable language for such tasks. It is easy to learn, just read Kernighan BW, Ritchie DM - The C Programming Language. At the same time, you can write quite complex things with relative comfort, you can even use OOP (if you're brave enough). But this, of course, is my subjective opinion, for my tasks I did not see the advantages of C ++ over C (this does not mean that they do not exist).
If you have just such a desire - to write in C ++ for microcontrollers, and you have firmly decided to go this way, then Stroustrup will still have to read. However, it is worth remembering that not all approaches described in C++ books are applicable to embedded development. You can also read Kormanyos CM - Real-Time C++ Efficient Object-Oriented and Template Microcontroller Programming. For microcontrollers - decide which one you will use and read the datasheets and reference manuals from the manufacturer. The skill of quickly reading 500+ page documents in English is most useful here. And improve the mathematical apparatus, when the corresponding need arises, then it will become clear which one.
By the way, 3 years for 6 hours a day is cool, a lot can be done in such a time, there will be enough time for both C and C ++, and there will be more. Although, if you decide to seriously delve into electronics, three years may not be enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question