Convert fractalp.c to C++
Convert fractals.c to C++