Compile C++ files
You have to convert the project in a C++ project. Try to right click the project in the Project Explorer view in order to open the contextual menu and execute the Convert to C++ command.
Now in the Project Properties > C/C++ Build > Settings you should have a new section for the C++ option.
Regards,
Stefano