Convert fractint.c to C++
Convert framain2.c to C++