When you name your files, you can choose to use a .c extension. Or you can go to the Project->Properties dialog, select C/C++, then Advanced, and next to Compile As, select Compile as C Code to ensure that you're actually compiling as C.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401