Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

acw83

VC++ .NET

This topic is 5936 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

First, let me state that I read the other thread on VC++ .NET. My question revolves more around the features offered. Could someone give me a specific example of a .NET program? Also, what is "Managed C++?" How does these fit in with game programming? I just can''t seem to justify buying the standard edition without knowing what these new features are. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
First of all: VC++.NET isnt all about .NET programming. The C++ compiler is the only remaining in the VS suite that can still emit native x86 code. This is what most of the developers on these forums will use.
Managed C++ is a set of extensions to the core C++ language to enable it to work with .NET. .NET is(among other things) a huge set of classes for various purposes - GUI programming, Web-apps, XML, SOAP, sockets etc...
A sample MC++ Hello World looks like this:
  
#using <mscorlib.dll>

using namespace System;


int main(void)
{

Console::WriteLine(S"Hello World");
return 0;
}

Share this post


Link to post
Share on other sites
Also, if I get VS.NET, will I get the x86 C++ compiler with, so I can create standard Win32 programs?

Also, you say that C++ is the only one to have an x86 compiler, does that mean that C# cannot be used to create standard x86 programs?

Share this post


Link to post
Share on other sites
quote:
Original post by python_regious
Also, if I get VS.NET, will I get the x86 C++ compiler with, so I can create standard Win32 programs?


Yes.
quote:

Also, you say that C++ is the only one to have an x86 compiler, does that mean that C# cannot be used to create standard x86 programs?


The C#, JScript.NET and VB.NET compilers only emit MSIL code - no native x86.

Magmai: This has been pointed out over and over - The only limitations on MC++ is in your managed interface. This is unavoidable in any multilanguage interop scenario. Code that isnt exposed as a .NET class can be written any way you want.

Share this post


Link to post
Share on other sites
Thanks for the help, I''ve decided to make the purchase. However, I have one last question: The feature set for VC++.NET Standard includes a compiler for C#... Does that mean I can use VC++.NET to code C#? If so, why would anyone pay $99 for VC#.NET Standard?

Share this post


Link to post
Share on other sites
I noticed that too - VC# Std contains the C++ and VB.NET compilers, VC++ Std contains C# and VB.NET compilers and VB.NET Std contains C# and C++ compilers.
I would assume there is a difference in the level of IDE integration, debugging, Intellisense and stuff like that. VC++ Std does lack the Windows Forms designer, though.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!