Using c++ for loading screen


I am using this tutorial in order to create a loding screen. Here
Then I got stuck in the part “The Code”. I dont know what to do with the documented code. Also the bonuspart is a mystery for me. I dont know anything codewise and using it with the Engine is even more difficult for me.

Thanks 4 Help