Update main.cpp

change C -> C++