C++ / C++ .net???

fkheng

Well-known member
Joined
May 8, 2003
Messages
155
Location
Malaysia
What is the difference between C++ and C++ .NET?

I would like to create a system for a final year project

but firstly, i need advice on whether i should learn up C++ or C++ .NET, what is the difference really?

wat about between C++ and C instead? what is MFC?



are there situations where it is best advisable to use C++ and scenarios when C++.NET would fare better?
 
C++ .NET uses the .NET Framework but you can still mix managed an unmanaged code in a managed application. C++ doesnt have access to .NET Framework, you use Win32 API with it.
I wouldnt go back to C, no object orientation support. MFC is a collection of classes that you use to build GUI applications.
 
are there any sample programs u know of or tutorials which can teach me how i can mix managed an unmanaged code?

does C++ make use of MFC?
id really appreciate more opinions on this...
 
You dont have to do anything special to mix them. Just remeber that when creating your own classes dont use the __gc keyword in the declaration if you want to have an unmanaged class, or use the __gc keyword if you want managed class.
With C++, you dont have to use MFC if you dont want to. But some people will not recommend using MFC because of all the overhead it adds, instead use the Win32 API to create the gui.
 
Back
Top