Satellites and rockets and not "running c++". They are running compiled machine code, that may have been written in any language.
For satellites and rockets in particular, similar to other embedded systems, most of them have the software written in C, which makes sense. C++ doesn't have much to do with it.