Creating and Empty MFC project in Visual Studio?

Discussion in 'OT Technology' started by Swerve, Nov 1, 2008.

  1. Swerve

    Swerve Active Member

    Feb 20, 2005
    Likes Received:
    Hi all, happy weekend!

    I'm starting to learn MFC at school and so got myself a copy of Windows Programming with MFC to help me.

    My problem is that the first program in the book, a 'Hello World' program, simply compromises of just 2 files:


    Now, when I create an MFC program in Visual Studio 2005, it adds LOTS files - .h files, .cpp files and also resource files.

    I simply want to use the two mentioned above, not all these others which are created. I've tried creating a blank project like I do for C++ for console apps, but despite trying various options during the program creation wizard, I still end up with many of these 'extra' files.

    I'm unable to create a blank MFC project, which will allow to just add the two files listed in the book, and run the 'Hello World' program.

    So basically, how can I create a blank MFC project, so I can just add Hello.cpp and Hello.h.

    Or am I missing the point somewhere?

    Many thanks!!
  2. CodeX

    CodeX Guest

    Just create a blank project... doesn't have to say MFC... all that does is setup commonly used libraries and stuff in the linker.
  3. ge0

    ge0 New Member

    Oct 31, 2005
    Likes Received:
    wtf at helloword app using a header file? helloWorld.getGreeting(); ?
  4. CodeX

    CodeX Guest

    common header file to include all others?

    Still... :greddy:

Share This Page