Difference between C++ V5 & C.NET

sjn78

Well-known member
Joined
May 4, 2003
Messages
255
Location
Australia
This is the story...Have only used VB to do any serious programming and now with studying, I am getting into C++.

I have found C++ to my liking and I dont want to go out and spend my money on C.NET..not just yet anyway.

I have a copy of C++ V5 and want to know if I start using that, will there be a huge jump when I move to C.NET. I know that the .NET Framework will have changed a lot of things in there, but is it basicallly the same.

I only ask this since VB6 and lower has changed a lot since going .NET.

Thanks for any suggestions or opinions
 
It depends, are you planning on using non-managed C++? If the answer is yes, then the changes youre missing are just some IDE features;

Dynamic Help
Very nice intellisense
Resource editor
~95% (or something like that) ANSI compliant compiler
Better debugger (although mines broken :()

Ive never used VC++ 5, but I dont recall VC++ 6 having these nice features (sure it had a debugger n stuff, but its been improved). Perhaps someone can correct me. Whether or not youll want to upgrade all depends on if you can live without some of those features.

Now if you plan on using C++ .NET, then youll pretty much want to get VS .NET regardless.
 
Thanks for the info.

I only experience I have with C is from the Uni course I am doing which so far is only creating programs that run in the DOS environment using Borlands C Compiler.

I thought if I used C++ V5 I would start to grasp the concept of OOP in this language (even though I am familar with VB.NET)

For example, when i moved from VB5&6 to VB.NET, I had to pretty much learn VB over again. EG, showing a form in early VB was as simple as:

form1.show

and now you have to declare an instance of the form in .NET

When going from say early verions of C++ to C.NET is the syntax the same? I dont want to waste my time using an early version if C.NET differs as VB.NET does with its earlier versions.

I hope you understand what Im trying to say.
 
Well, the language itself is pretty much the same - nothing youd really have to worry TOO much about (namespaces probably being the biggest addition that comes to mind).

When you talk about C++ in .NET, there are really two flavors: managed and unmanaged. If you go managed, you will end up using the .NET managed classes to do a lot of work, such as creating windows with an inherited Form class or using System.IO to do file handling. If you go with unmanaged C++, it will be much closer to the non-.NET C++ (like your version 5 of VS). Youll be using the API for all of that stuff.

So, the question should really be how you plan to use VC++. If you plan on doing unmanaged code, then you can go ahead and learn C++ v5 without too many worries. If you decide to switch to .NET later, youll be in the same boat as everyone else, learning pretty much a whole new way of doing things (often easier though it may not seem that way at first).

-nerseus
 
Well, the language itself is pretty much the same - nothing youd really have to worry TOO much about (namespaces probably being the biggest addition that comes to mind).

C++ has always had namespaces. :confused:
 
Back
Top