I don't write in C++, though I don't think maths is that important. People who don't program seem to think it is. When I tell people i'm bad at Math they always exclaim and say "But you're a programmer?". Maths is really not that important most of the time. Most values are represented by code anyway, so its really just knowing how to string your functions together to get the results you want. Its kinda the whole point...
I don't need to know how to divide 2321 by 432 +3... because it will be written as somthing like CountNumberOfRec/RandomVariable+someOffset.....
Its funny though as in tutorials and early projects a lot of examples are using math, printing integers and doing all sorts of things with them. 90% of that stuff you will never really need to use. Unless you work in specific fields. I have also written games in unity (nothing noteworthy, but functional nonetheless) and maths is not needed there either.