Sign in to follow this  

Visual C++ or C++?

This topic is 4815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

As of the last month I have been learning C++ but I am not sure if I should learn C++ or Visual C++ I keep hearing about the two and i am not very sure which would be better for game programming please help

Share this post


Link to post
Share on other sites
Visual C++ is better because you can see it. Actually, Visual C++ is the name of an ide program by Microsoft that eases the production of C++ language programs. C++ is a language that can be written using any number of compilers.

Share this post


Link to post
Share on other sites
Learn C++ first.

Visual C++ is nothing more than a C++ compiler like Fruny said, that "translates" all the things you do visually (forms etc) into MFC calls. So learning Visual C++ will most likely end up in you becoming lazy and rely on drawing your applications instead of coding them yourself ;)

if you want to do forms later on, learn C++ and MFC. From there, you could go to visual C++ and have a excellent understanding on how everything works, etc.

Share this post


Link to post
Share on other sites
Quote:
Visual C++ is nothing more than a C++ compiler like Fruny said, that "translates" all the things you do visually (forms etc) into MFC calls. So learning Visual C++ will most likely end up in you becoming lazy and rely on drawing your applications instead of coding them yourself ;)

First I've heard of this.

Share this post


Link to post
Share on other sites
OK, to set the record straight.

Visual C++ is a product shipped by Microsoft. It includes the following:

  • A C++ Standard complying compiler (not 100% but it's one of the best C++ compilers you can get, as long as you get the one with Visual C++ .NET 2003 (aka version 7.1) or the one bundled in the free downloadable toolkit from Microsoft).
  • Various C++ libraries, incl.: ATL, MFC, the Win32SDK, ASP.NET (for web services only), ATL Server, .NET (aka MC++)
  • An integrated development environment (IDE)
  • Documentation (help files)
  • An integrated debugger (as expected from a proper IDE).

    So, it really doesn't make sense to ask "Should I learn C++ or Visual C++". Visual C++ is a tool for the utilization of the programming language C++.

    My advice to you is this:
    1. Learn C++ as described by the ANSI/ISO Standard. To do this get a good C++ text book which teaches proper (aka Standard) C++. Such a book could be "The C++ Programming Langauge", "Accelerated C++", "You Can Do It! A Beginner's Introduction To Computer Programming", "Absolute C++", "Problem Solving with C++: The Object of Programming", or "C++ Primer".

    2. Then learn how to use the STL (the library that comes with Standard C++). For this I recommend: "C++ Standard Library : A tutorial and reference".

    3. Decide if you need and want to learn a C++ application framework. For example one could be MFC, another one could be wxWidgets, yet another one Visual Component Framework (VCF). For game programming skip this step and go straight to a graphics framework such as OpenGL or DirectX.

    Share this post


    Link to post
    Share on other sites
    Guest Anonymous Poster
    most confusing topic i have ever seen.... how can u get information from this junk? listen. C++ is a PROGRAMMING language, and visual c++ is a program to that lets you PROGRAM in c++. All visual c++ does is compiling what u write in c++. there are more compilers like borland c++ and dev-cpp. Those are just for the compiling of the actual programming language you write in, and thats c++. so dont get confused by the names.

    Share this post


    Link to post
    Share on other sites
    Quote:
    Original post by Anonymous Poster
    most confusing topic i have ever seen.... how can u get information from this junk? listen. C++ is a PROGRAMMING language, and visual c++ is a program to that lets you PROGRAM in c++. All visual c++ does is compiling what u write in c++. there are more compilers like borland c++ and dev-cpp. Those are just for the compiling of the actual programming language you write in, and thats c++. so dont get confused by the names.


    Your answer is not much more useful: ok, c++ is a programming language, but VC++, Borland C++ and Dev-cpp are not compilers (or, at least not only): they are IDE's. So, C++ is a language, gcc is a compiler and VC++ is an IDE (read the post of rohde).
    Actually, I've heard many people pretend to know Java, C++, [insert a randomly selected language], Visual C++ (yes, exactly as C++ and Visual C++ were different languages). I think they refer to the additions and the differences between standard C++ and the one implemented by Microsoft (yes, now the things are different).

    Share this post


    Link to post
    Share on other sites

    This topic is 4815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

    If you intended to correct an error in the post then please contact us.

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    Sign in to follow this