rename main.c to main.cpp