how do I set visual studio to read my C code by default instead of C# or whatever its doing?

Recommended Answers

It's all in the file extension. *.c files are read as C programs.

Jump to Post

All 3 Replies

It's all in the file extension. *.c files are read as C programs.

You can also select which language to compile as in the project properties: Configuration Properties -> C/C++ -> Advanced -> Compile As.

thank you both

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.