Text this: C++ solutions for mathematical problems