changed many files back to c++

Now using a hybrid approach using some c and some c++. Getting
the best of both worlds is so much better than trying to learn c.