fkheng Posted August 28, 2003 Posted August 28, 2003 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? Quote Can you bind the beautiful Pleiades, and can you loose the cords of Orion? - God to Job...
*Experts* mutant Posted August 28, 2003 *Experts* Posted August 28, 2003 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. Quote
fkheng Posted August 29, 2003 Author Posted August 29, 2003 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? i'd really appreciate more opinions on this... Quote Can you bind the beautiful Pleiades, and can you loose the cords of Orion? - God to Job...
*Experts* mutant Posted August 29, 2003 *Experts* Posted August 29, 2003 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.