Port happy numbers and odd numbers to C++.