c++ and visual c++

Discussion in 'Programming' started by hajrice, Sep 24, 2006.

  1. #1
    is there any diference between Visual C++ 2005 and C++.If yes then what
     
    hajrice, Sep 24, 2006 IP
  2. DrMalloc

    DrMalloc Peon

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    C++ is the language, anybody can implement a compiler based on the specification. Visual C++ is a development suite and set of compilers for C++ code, with helpers that also makes it easier to develop programs that use the win32 API.
     
    DrMalloc, Sep 26, 2006 IP
  3. wmtips

    wmtips Well-Known Member

    Messages:
    601
    Likes Received:
    70
    Best Answers:
    1
    Trophy Points:
    150
    #3
    Visual C++ is the implementation of C++ compiler and IDE by Microsoft. There are many other implementations both for Windows and other OSes (Borland C++ Builder, Watcom C, Intel C++, GCC, ..). So C++ is just a programming language based on Ansi C with many implemenations with different product names.
     
    wmtips, Sep 26, 2006 IP
  4. rahulm

    rahulm Peon

    Messages:
    178
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    By VC++ we can develope the MFC,ATL and COM application but as far as pure C++ is concerned it used for console application . VC++ is using WIN32 API although both following OOPs concept
     
    rahulm, Sep 27, 2006 IP
  5. sdickson30

    sdickson30 Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Actually, pure C++ can be used to write GUI apps, not just console types. Using the Platform SDK, you can write a Windows application with no MFC. Not that it would be fun, but that is how it's done old school style.
     
    sdickson30, Sep 27, 2006 IP
  6. ThomasW

    ThomasW Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    C++ in itself is a general purpose high level programming language so I do not think we can set up Microsoft Visual C++ versus C++..

    That said, there are differences between the different C++ versions, more than we can enumerate here. (And a lot more than I know:) ) The differences often actually concerns the standard template library more than the language itself. You can e.g. not necessarily expect the same behaviour from a program compiled with Visual C++ 7 or Visual C++ 8, even though they were compiled from the same source code.

    Ideally all the compilers should support one of the ISO C++ standards, which in theory would mean that there would be no differences between two compilers following the same standard. To my knowlege there exists few or none compilers that does fully support the latest standards.

    Still it is possible to write programs that compile equally well on windows (e.g. with MSVC8) and on Linux (e.g. using GCC 3.3.5).
     
    ThomasW, Sep 28, 2006 IP
  7. Froggie

    Froggie Well-Known Member

    Messages:
    665
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    120
    #7
    MS visual c++ is c++ that has a framework (mfc).
    while ms visual c++ 2005 is no longer mfc but uses .net framework (which is also known as "managed c++")
     
    Froggie, Sep 28, 2006 IP
  8. ThomasW

    ThomasW Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You can perfectly well still write unmanaged C++ or even MFC applications using MSVC 2005. There are no wizard support for it, but still possible.
     
    ThomasW, Oct 12, 2006 IP