what is the difference between c++ and MFC(except front end designing concept)
-
6What is the difference between a hammer and buying a television ?– ereOnJun 24, 2010 at 12:14
-
What's the difference between limestone and the Leaning Tower of Piza?– stinky472Jun 25, 2010 at 6:44
-
fast know basics....after this we ll decide about limestone and the Leaning Tower of Piza...u r not able to ans beginers level– user371968Jun 25, 2010 at 12:07
-
It's already been answered and this thread is closed so I couldn't answer, but I thought it was a perfectly nice analogy; a little better than the hammer and buying a television one since it illustrates their relationships a bit better. Had it not been closed, I would have pointed out already that MFC is a library (typically considered a very flawed one but miraculously still used today) written in C++. See the Tower of Piza analogy?– stinky472Jun 25, 2010 at 12:49
-
I prefer application framework rather than just a 'library'. It can be the actually the same though it is more vague to refer it to just as a library.– SunscreenJun 29, 2010 at 11:29
4 Answers
C++ is a programming language. MFC is a library written in C++ that wraps Windows API.
Have you tried Google ?
-
6+1, because s****d questions deserve obvious answers. But what is the difference between Google and
C++
?– ereOnJun 24, 2010 at 12:16
MFC is an application framework by Microsoft that is implemented in C++, which is a programming language.
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).