This is going way off-topic for these forums now.
I will help you on your way and then lock this topic.
PMS is written in Java, not in C++. So if your aim is to change PMS, I would seek out Java, not C++.
If you want to learn how to program Java, search the internet
. Being good at math helps, because programming requires abstract thinking, just like math.