Results 1 to 2 of 2

Thread: What's the difference between C++ General and Microsoft Visual C++??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Farmington, MN
    Posts
    76

    What's the difference between C++ General and Microsoft Visual C++??

    I noticed on Planet Source they have the category C++ general and Microsoft Visual C++. I did't know there was a difference. Is this code compatible? What are the differences? Thanks!
    Last edited by learning_VB; Dec 17th, 2002 at 07:55 PM.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    C++ is a language. Visual C++ is an IDE.

    The C++ language doesn't provide any I/O or similar capabilites in itself, but every compiler must come with a standard library which provides basic features like console I/O and file handling.
    The standard library does not, however, provide access to any really OS-dependent features such as threading and drawing. For those you have to rely on the API exposed by the OS.

    The General C++ section on planetsourcecode handles pure C++ code, code that only uses the standard library and should compile on every reasonably standards compliant compiler (VC++7, gcc3.x, ...).
    The Visual C++ specific section contains Windows-specific code. There is a good chance this code also compiles with the Borland compiler.
    It also contains code for the Windows-development class library that comes with VC++: MFC. This code will only compile with VC++.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width