Differences between C++ & Visual C++

This is a discussion on Differences between C++ & Visual C++ within the C++ Programming forums, part of the General Programming Boards category; People, What are the differences between C++ and Visual C++? I'm asking this because I can't decide in which language ...

  1. #1
    Unregistered
    Guest

    Differences between C++ & Visual C++

    People,

    What are the differences between C++ and Visual C++?

    I'm asking this because I can't decide in which language I will start programming.

    Regards,

    Job

  2. #2
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    Ouch.

    Why do people put Visual C++ in a different category than C++? Where did it start?

    Regardless, C++ is a programming langauge. Visual C++ is a compiler (turns source code that you write into code that the machine can execute) and a development enviroment, that helps you edit the source files more efficiently.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  3. #3
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    You start by getting a compiler such as Microsoft VC++6 or else VS.NET beta2. Than you pruchase a C++ textbook. Than you write code in your compiler in project workspaces called Win32 console.

  4. #4
    Unregistered
    Guest
    Thanks, but I thought it was like C is different from C++, so I figured C++ was different from visual C++.

    Regards,

    Job

  5. #5
    Unregistered
    Guest
    C -> Programming Language
    C++ -> Programming Language
    Visual C++ -> Compiler

  6. #6
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    Visual C++ is just a C++ compiler/IDE and makes it a little easier to make windows apps...almost like a VB approach...but not that much...

  7. #7
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    C -> Programming Language
    C++ -> Programming Language
    Visual C++ -> Compiler
    Not quite. VisualC++ has some so-called "language extensions", which make it different from ANSI C++.
    E.g. if you want to compile following lines without errors:
    -------------
    for ( int i = 0; i < 100; i++ ) ;;
    for ( int i = 0; i < 200; i++ ) ;;
    -------------
    you have to disable VisualC++'s "language extension"(see Visual C++ Project/Project Settings/C/C++/Customize or /Za option), or else you get redefinition errors for i, even if ANSI C++ doesn't complain for it.

    There are probably many other such "extensions". Microsoft made it's own C/C++ standards, which may vary from ANSI ones...

  8. #8
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Visual C++ is just a C++ compiler/IDE and makes it a little easier to make windows apps...almost like a VB approach...but not that much...
    dirduck, the IDE is (was) VisualStudio (now it's VisualStudioNet(?)).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 09:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 07:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM

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