Depending on your installation, you may or may not have the compiler and
related files (headers, libs, etc...) installed already. The easiest way to
tell is by checking the splash screen. If it shows an icon for "Microsoft
Visual C++ .NET" , it's already installed. If not, you'll have to run
Setup.exe on the installation DVD, select Option 2 (the "Repair, Reinstall,
Install Additional Features..." one), and check the "Visual C++ .NET" (under
"Language Tools") to add it. Anyway....
One it's installed, you can simply follow these steps to create a new
project and add your C/CPP files to it:
Open up VS.Net
Hit CTRL_SHIFT-N (New Project shortcut)
When the New Project dialog opens: Under Project Type, select "VC++
Projects", under Templates, select "Win32 Project"
Enter a project name/location and hit OK
The App Wizard dialog will open. From there, select the type of app
you're creating (Windows or console or whatever), and then enable the "Empty
Project" checkbox so the wizard doesn't generate any files for you.
Click OK
From there, drag your header files, .c, .cpp files to the Project Explorer.
From there, cross your fingers and build your project :)
ShaneB
"ozbear" <oz****@bigpond.com> wrote in message
news:4186ab0f.1125537687@news-server...
On Mon, 1 Nov 2004 15:19:25 -0500, "ShaneB" <st********@yahoo.com>
wrote:
He asked about compiling some "vanilla C" code which to me, means simple C
code...not creating COM objects or using VB6. If that is the case, there
is
no reason for him to install VS6 from the information he gave.
ShaneB
Shane,
Correct. I have some vanilla C code I occasionally need to deal
with. No VB, no COM.
But surely I have to install something beyond VS.NET 2003, or does
it have a C compiler hidden someplace that is used on the basis
of a .c .h file extension?
Regards, Oz
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?