Thread: What is MFC?

  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    932

    What is MFC?

    Could we say that MFC to Win32 is about the same as

    HLA (high level assembly) to Assembly language?

    In both case it would make the programming easier?

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Yes. MFC is a Framework for building GUI applications.
    Although it also has a couple of other functionality that isn't related to GUI, such as CString, a string class of its own, much better than std::string IMO
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    932
    I see, thanks Elysia.
    So what is better after all for a beginner: to start with MFC or Win32?
    Using Windows 10 with Code Blocks and MingW.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    MFC builds upon Win32, so to use MFC, you need to know Win32 basics.
    But that is not to say you need to study how to create windows and such with Win32 API, but you need to know how messages and windows, etc works.
    You can start with MFC, provided that you also study how the system works.
    MFC is also only available on Standard+ versions of Visual Studio (not Express).
    Last edited by Elysia; 02-24-2008 at 11:38 AM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    MFC is also only available on Pro versions of Visual Studio (not Express).
    The only version it's not available on is Express. Standard and Pro have it.

  6. #6
    Registered User
    Join Date
    Dec 2007
    Posts
    932
    Thanks, i think i will try to learn Win32.

    MFC sounds like another language to me, so im afraid that it will only mix things up.
    Using Windows 10 with Code Blocks and MingW.

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    That's not true. I'd go for MFC if I were you.
    It contains lots and lots of wonderful classes.
    You just need to know some Win32 basics to use it.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  2. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM
  3. Understanding The Future of MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-15-2002, 09:08 PM
  4. Beginning MFC (Prosise) Part III - Now What? :: C++
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 03-03-2002, 06:58 PM
  5. MFC is Challenging :: C++
    By kuphryn in forum C++ Programming
    Replies: 8
    Last Post: 02-05-2002, 01:33 AM