Click to See Complete Forum and Search --> : Questions about C++ .NET


Kalamat
April 29th, 2005, 03:34 PM
Hi everyone,

Here are some questions I wanna know about please:

1. What are the main differences between C++ and C++.NET?

2.In case, I make a C++ . NET program, do the user need to have NET Framework installed??

3. What is different between WinAPI and MFC, which one is better and more used??

Thanks a lot for the help, I recently started learning C++.

Jim McCreary
May 2nd, 2005, 11:52 AM
1. What are the main differences between C++ and C++.NET?
C++ is a standard language that is implemented by a number of compilers to run under many operating systems. Visual C++.NET is a Microsoft implementation of C++ that runs under MS Windows and includes a lot of librarys that make life a lot easier for programmers.

2.In case, I make a C++ . NET program, do the user need to have NET Framework installed??
You can chose to build a MFC application that does not require users to have the NET Framework and will run under just about 32 bit Windows. I think 32 bit Windows started with Windows 3.1 probably 20 years ago. You will need to link in the MFC library or might have to provide the MFC dll.
If you chose to build a "managed" .NET application you use the .NET library and your users will need to have the NET Framework installed.

3. What is different between WinAPI and MFC, which one is better and more used??
WinAPI can be used either from straight C++ or MS Visual C++. It's just a library of functions that is part of Windows. MFC wrappers the calls to WinAPI and makes them somewhat easier to use.

Kalamat
May 2nd, 2005, 05:34 PM
Thanks very much for anwsering.

Victor Freire