converts sceadan.c to sceadan.cpp