Microsoft Visual Studios 2010 - creating a new project in regular C

I'm relatively new to VS (only used it once before for a simple project) and all I want to do is create a new C file for my project. When I go to add file to the project I created, the only available language option I'm remotely familiar with is C++. I chose that and tried saving the file as a regular C file, which VS let me do, but it saved it as a separate file outside of my project. Is there a way I can add this C file to my project? I've tried playing around with some of the options and I can't seem to find a way.


On Solution Explorer, Click on the Source Files folder. Press Shift + Alt + A to add an existing item to the sources folder. Then just choose your .c file.

Works for me.

Need Your Help

Set variables still return null

java string null

So I did some changes (The generateCsvFile that is giving me the null's is the one at the bottom, I removed the one in my Test() method) but It still says null

can i work on mono under Windows xp?

c# .net mono windows-xp

i do have ubuntu installed on my system now. but it is not booting up. so can i work on mono under windows xp sp3.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.