For someone who has never coded anything at all? Read tons of books on programming theory? Sounds pretty daunting. And yet people claim that it's so easy...
Start programming with the simple examples - must not even be C++. There are programming environments like Scratch, which aim at children, but which already teach you many basics about algorithms and describing a problem and its solution in a programming language.
More important than theory is playing with the language. Start with a Hello world. Learn to make it ask for your name and greet you personally. Add new ideas to the simple start.
The books assist you, when things get really advanced and are a good help, if you are a better learner with books.
Just don't be afraid. Neither to program, nor to ask questions. We all learned programming one day. I learned the basics when I was 6 (in BASIC), and started developing my programs beyond the examples with 12 (in BASIC). I did not do all this alone, and I needed books because the internet was not helpful in the 1980s. But today it is. It was not impressive (some simple games in BASIC), but it was fun to have such successes like a moving sprite.
I learned the basics of C++ in 3 months between an internship and starting my apprenticeship there. When I was apprentice, I had a senior programmer acting as some sort of Guru to me. He was smoking like a volcano, consuming coffee in impressive speeds, was never having any patience and was always busy with coding at high speed... but still he taught me a lot about C++, that the books didn't tell me.
So, what can you learn from that: Programming does not depend on the language that you do, but starts on a much more abstract level of understanding, what actions you need to do to solve a problems and how you can explain them a computer so that he decides just like you would decide. Thats not C++. There is maybe some bit of logic involved. Mostly it is splitting one big problem (how to define the RCS of a complex spacecraft) into smaller problems that you already have solved once (how to define a single thruster)
What you will soon find out then: There is not just one solution for every problem, but actually, many solutions. And if you are lucky, one solution that can be realized and many that are ineffective.
And then you will by experience also get a number of standard solutions for a problem that appears often. Some of these standards appear in books already, that are worth a reading later.
But first learn solving problems with computers and then gradually shift to always do that in C++. The sooner you also learn to describe your solution in C++, the faster you will learn C++ and the solutions, that you have available in C++ without needing to invent them again.
And then get some books. Not many. You maybe never need more than 3 books in your life for C++. Reading the Orbiter API reference together with the sample code should help you to learn what exists.