Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Can you bind the beautiful Pleiades, and can you loose the cords of Orion? - God to Job...
  • *Experts*
Posted

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.

Posted

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...

Can you bind the beautiful Pleiades, and can you loose the cords of Orion? - God to Job...
  • *Experts*
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...