Hacker News new | ask | show | jobs
by cmircea 4066 days ago
Yes, on the properties of the file you can specify whether to compile as C or C++. It can also be set as a project default.

I believe files with the .c extensions are compiled as C, not C++.