It's a very specific technique. Not something that is "C++". You are going to want to visit game development forums specifically. This is a technique, not a language problem you are having.
It doesn't matter what language you find it implemented in you should be able to easily implement this in C++. And this funny enough, is a C++ forum.