main.cpp, makefile

Changed main.c to main.cpp, changed make file.