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

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.