Visual C++ .NET 2003 - How to Build and Run a newly created source file.

VIAN

Diamond Member
Aug 22, 2003
6,575
1
0
I just came from Visual C++ 6.0. In 6.0, you would go to File, then New File and choose the C++ Source File, then write your program and Build and Run. When one is used to that going to .NET 2003 is a bit difficult. Cause it's very different. Run is no longer Run, it's Start. And you can only Build a Source File that is in a Project.

I came here for help and I didn't get any useful help. Maybe I just worded it wrong or something. Idk. So as a last resort to buying .NET 2003 for Dummies, which I'll buy later anyway to learn more about the platform, I asked my professor and he told me what I needed to know. It's very simple, but different enough from 6.0.

Here is the answer: (for anyone else who might like to know)
{
Start C++.NET

File>New>Empty Project

File>Add New Item>C++ File

Write Code

Build>Build (Project Name)

Debug>Start Without Debugging
}
This is pretty simple and it was all I needed to know. If anyone knew that and didn't give me the answer -you suck.

 

daniel1113

Diamond Member
Jun 6, 2003
6,448
0
0
Perhaps you should, I dunno, read a tutorial or buy a book. There are a ton of them out there.
 

TheMafioso

Member
Jun 2, 2005
178
0
0
You can do a quick search for ebooks on vc++.net on P2P networks like emule or Limewire, you'll find plenty of 'em.
 

Stuxnet

Diamond Member
Jun 16, 2005
8,392
1
0
Originally posted by: VIAN
VC++ .NET is just IDK, stupid. I have no idea how to do it.

This is so reminiscent of the "Why must Java suck" thread...

To reiterate: Just because you don't "get" XYZ doesn't mean XYZ [sucks|is stupid|is worthless|etc].


(PS - VC++.NET is more than just a language... you need to learn the platform)
 

VIAN

Diamond Member
Aug 22, 2003
6,575
1
0
I didn't mean that it was stupid. It's just a hopeless way of saying I don't understand.

I understand that C++ is the language. And the Visual & .NET parts are the platform. But I know how to program, just don't know how to use the platform.
 

Stuxnet

Diamond Member
Jun 16, 2005
8,392
1
0
What I might recommend doing then is just cruising MSDN. There is a ton of information there regarding the platform, and there are some really good books out there, too. I know you don't want to look at tutorials or buy books, but that's just the nature of the beast.

Once you get your arms around the platform, you'll probably love it. Coding has never been easier.
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
Not any harder in VC7.1 for me, it's just that the interface is more intimidating. :confused:
 

torpid

Lifer
Sep 14, 2003
11,631
11
76
Just read up on .net maybe even in c#. With .net the language is virtually irrelevant. The main area where c++ diverges is in writing unmanaged code within a .net program.
 

rsd

Platinum Member
Dec 30, 2003
2,293
0
76
TONS of free examples and instructions out there, hell go into the Help
 

VIAN

Diamond Member
Aug 22, 2003
6,575
1
0
tutorial is just confusing. It doesn't really help and makes things more confusing. I think I'm just gonna buy a book later on.

Just trying to find a way to run a source file and haven't found it yet so, I guess book it is.

It seems like the simplest question and noone can answer it. Not google. Not the tutorial. Frustrating.
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: VIAN
tutorial is just confusing. It doesn't really help and makes things more confusing. I think I'm just gonna buy a book later on.

Just trying to find a way to run a source file and haven't found it yet so, I guess book it is.

It seems like the simplest question and noone can answer it. Not google. Not the tutorial. Frustrating.

Agreed.

They make it so.... different than any other IDE.
 

atiyeh

Senior member
Dec 13, 2004
496
0
0
Download Visual C++ 2005 from MSDN. It's a free download and it's a nice little program I use all the time.