c++ ladder example

at least if there is any tutorial/guide/example with bp i can try that but i would like to do that in c++ because of the performance, many people said that c++ is way faster for those things…