Learning C++ on your own?

The short answer is that it isn’t. Rather, the high level math is often baked into programs because it has a particular use. This is the case with stuff like linear algebra and graphics, discrete structures, statistics and finance (among many other applications) and tons of other fields that have computer programs made for them. All of the math and physics a CS major may take is essentially the “and its applications” part of a good understanding of CS.

So you don’t need any of the math to program by nature, but you may find yourself using it on the job.

One could also argue that the high level math only strengthens your logical / mathematical thinking, which is very closely tied to programming skill as one of its main pillars.