tags:

views:

278

answers:

4

what is the difference between c++ and MFC(except front end designing concept)

+8  A: 

MFC is an application framework by Microsoft that is implemented in C++, which is a programming language.

bshields
+12  A: 

C++ is a programming language and MFC is a library written in C++.

sinec
mfc uses class libraries...c++ also uses class libraries...both are libraries...
@lalmay-j: `C++` **is** a language, `stl` and `MFC` **are** libraries. It is not because I **use** a hammer that I **am** a hammer. Semantic matters.
ereOn
this is a book defination...i need something extra
+10  A: 

C++ is a programming language. MFC is a library written in C++ that wraps Windows API.

Have you tried Google ?

Incognito
+1, because s****d questions deserve obvious answers. But what is the difference between Google and `C++` ?
ereOn
+2  A: 

MFC is a c++ library that wraps a bunch of the windows api and provides graphic widgets.

A lot of people on SO seem to prefer using qt over mfc for gui+extras library

(plus qt is a crossplatform library (Windows/Linux/Mac/

a bunch of tiny third party desktop Operating systems you have never heard of/

win mobile<=6.5 /Symbian/Nokias high end Meego Phones(in the close future)/and a lot of work is being done on the Android port)

while mfc is windows only, meaning that if you use mfc in your application you would have to make the mfc portions be modularised away and rewrite those parts to port it to different platforms).

see http://stackoverflow.com/questions/443546/qt-goes-lgpl-on-windows-is-it-good-enough-to-use-instead-of-mfc

Roman A. Taycher