Pātuhitia tēnei: C++ solutions for mathematical problems