How to create a Montage and play it in C++?

I made a new post with more details and an answer.