What is MFC?

This is a discussion on What is MFC? within the Windows Programming forums, part of the Platform Specific Boards category; Could we say that MFC to Win32 is about the same as HLA (high level assembly) to Assembly language? In ...

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

    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をこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,614
    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
    796
    I see, thanks Elysia.
    So what is better after all for a beginner: to start with MFC or Win32?
    Compiler MSVC++ 2013 with Code::Blocks.

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,614
    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 10: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
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    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
    796
    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.
    Compiler MSVC++ 2013 with Code::Blocks.

  7. #7
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,614
    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, 05:58 PM
  5. MFC is Challenging :: C++
    By kuphryn in forum C++ Programming
    Replies: 8
    Last Post: 02-05-2002, 12:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21