Thread: No MFC in Visual C++?

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    3

    No MFC in Visual C++?

    Hello all, I'm new and decided to learn C++. Last couple of days I plunged into the "C++ Made Easy: Learning to Program in C++" sections and decided to try the same game tutorial after I felt I knew the basics well enough for a bit of fun or something.

    So Microsoft doesnt have the MFC template, or a lot of the templates that show up on that tut's first page. Creating an MFC-Based Game - From Start to Finish

    Also I did some openGL tut too and these things can't be found:

    #include <gl/gl.h>
    #include <gl/glu.h>
    #include <gl/glaux.h>

    which put a stop to that area of learning.

    So yea missing some stuff, googled for hours without success.

    Also any suggestions for me at this stage of learning is appreciated.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Professional and up versions of Visual Studio ships with MFC. Express versions do not, unfortunately.
    As for OpenGL, you should download and install the OpenGL SDK.
    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 VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I'm not sure why MS has this policy since they are trying to push WPF and C# more and you can create these types of apps with Express versions. Does not make sense for them to withhold MFC from Express but then I guess they have to withhold some features or there would be no impetus for buying the real deal. I cannot say that MFC is that much of a reason to do so but that is another story.

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    I'm not sure why Microsoft has the policy because some freely downloadable versions of the SDK, DDK, and documentation ISO files actually included the MFC source, and some even have the same implied license for "Professional Use" that they used to have on the acquired "System Internals" tools.

    *shrug*

    Microsoft be weird.

    Soma

  5. #5
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    I think that's the understatement of the century. Anyway, it's not like you have to buy the pro version of VS to get the up to date MFC bits. The 90-day trial installs all the headers, sources and libs which you can then copy, uninstalll the trial, install the express version and copy the MFC/ATL bits to the relevant places, and there you go.

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I'm not sure of the legality of such a thing. We might not want to promote that.
    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.

  7. #7
    Registered User
    Join Date
    Apr 2011
    Posts
    3
    Thanks for the responses. I won't bother with the MFC tut then since microsoft has issues.

    where do i download the OpenGL SDK?

    according to this page: OpenGL SDK

    I can't download it, I gotta download some 3rd party crap.
    Help plz

  8. #8
    Registered User
    Join Date
    Apr 2011
    Posts
    3
    Damn I've no idea wtf to do. gl/glaux.h causes and error in the Visual Studio command prompt. What other compiler should I use and how? or does it not matter what compiler is used?

  9. #9
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    What matters is that you need that file on your hard disk. When you do, it should not matter what compiler you use. I don't know where to get it, however.
    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. Visual C++ and Visual Studio 2010
    By 03jh01 in forum C++ Programming
    Replies: 5
    Last Post: 10-03-2010, 04:03 AM
  2. Visual C++ 6.0 Pro vs Visual C++ 6.0 Enterprise
    By Joelito in forum Tech Board
    Replies: 5
    Last Post: 01-23-2007, 07:00 PM
  3. Visual Basic vs Visual C++
    By moemen ahmed in forum C++ Programming
    Replies: 6
    Last Post: 07-02-2002, 08:44 AM
  4. Replies: 1
    Last Post: 04-20-2002, 06:49 AM
  5. Moving from Visual Basic to Visual C++
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 04-10-2002, 09:57 PM