rename .c to .cpp