Thread: Visual C++ 6.0

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    4

    Visual C++ 6.0

    Is Visual C++ 6.0 any good for development? I just found a Visual Studio 6.0 CD that my father had in his software bag, and he told me he had never used it. I installed it, but I'm not sure how good it would be if I used this, as opposed to Dev-Cpp or a similar compiler. Any suggestions?

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    I use it all the time, originally because I thought the .NET-era compilers were a bit rubbish, but now simply because I can't afford to upgrade.

    You may have trouble installing it under Windows XP though. It'll complain about missing Java Virtual Machine(which is correct, because MS stopped distributing it). It doesn't need Java. Create a file called MSJAVA.DLL in your system32 directory and all should be fine.

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    4
    I use it all the time, originally because I thought the .NET-era compilers were a bit rubbish, but now simply because I can't afford to upgrade.
    Hehe, I think .NET is a bit... err... rubbish as well.

    You may have trouble installing it under Windows XP though. It'll complain about missing Java Virtual Machine(which is correct, because MS stopped distributing it). It doesn't need Java. Create a file called MSJAVA.DLL in your system32 directory and all should be fine.
    When do you think it'll ask for it? I have the JVM installed, as well as VC++6 and it hasn't asked yet, since I've started using it (err this morning).


    By the way, about the "not affording to upgrade" thing, is the express edition too weak for you? It's free from the Microsoft website. However, whenever I download from there, it doesn't work when running the executable file.
    Last edited by pythonusr; 04-25-2007 at 02:13 PM.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    VC++6 is about 10 years old and completely deficient in terms of standards compliance. It's completely unsupported. You can get Visual C++ 2005 Express for free.

    There is only a single valid reason to use VC++6, and that's to maintain legacy code.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    The bad part is that because it was developed while the C++ Standard was being discussed before its publication in 1998, there are quite a few language features where it fails to comply with the standard. MS Visual Studio 2005 Express is available at zero price, so if you think that you might need more standards compliance, perhaps the use of advanced template programming, then you should opt for that instead.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Quote Originally Posted by pythonusr View Post
    When do you think it'll ask for it? I have the JVM installed, as well as VC++6 and it hasn't asked yet, since I've started using it (err this morning).
    Oh, well if it hasn't asked for it by now then you're OK (It does when peeps install from an SP2 slipstream of Windows XP, at least...)

    Express is fine, but it doesn't compare to the feature set of previous professional editions. Ideally I'd like to get a nice copy of VS 2003 pro, having a peek at eBay while I write this. The previous notes about C++ incompatibility of version 6 is too true, but if you code only in C, like I do, then all you're interested in is code generation improvements (and there have been some).

  7. #7
    Registered User
    Join Date
    Apr 2007
    Posts
    4
    Hehe... I didn't pay for .NET *whistles*

    Anyways, I installed on SP2, no problems... But, when I install Vista Home Premium, uhg, any problems?

    By the way, completely off topic, Visual C++ 6.0 gives me an error when using:

    Code:
    using namespace std;
    In any applications. What's up with this?

  8. #8
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Anyways, I installed on SP2, no problems... But, when I install Vista Home Premium, uhg, any problems?

    By the way, completely off topic, Visual C++ 6.0 gives me an error when using:

    Code:
    using namespace std;
    In any applications. What's up with this?
    Are you including <iostream>? using namespace std doesn't work too well with <iostream.h>.

    Also, are you compiling as C++? That is definitely invalid C.

    It would help to post the error message and a small code segment that generates it.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  9. #9
    Registered User
    Join Date
    Apr 2007
    Posts
    4
    Alright. What is the difference between #include <iostream> and #include <iostream.h>? I'll do something like:

    Code:
    #include <iostream.h>
    using namespace std;
    
    int main()
    {
          cout<<"Text";
          return 0;
    };
    Or something like that and it doesn't like using namespace std;

  10. #10
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    <iostream.h> is a pre-standard header, <iostream> is (roughly) its standard equivalent. Fopr iostream.h, you do not need to qualify the names, but then you may be working with stream objects that are a little different from the standard.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  11. #11
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Quote Originally Posted by pythonusr View Post
    Is Visual C++ 6.0 any good for development? I just found a Visual Studio 6.0 CD that my father had in his software bag, and he told me he had never used it. I installed it, but I'm not sure how good it would be if I used this, as opposed to Dev-Cpp or a similar compiler. Any suggestions?

    MS VC v6 is still used in many commercial software houses and IMO is still a very good IDE. I would suggest using it if you plan to write software commercially. I am yet to work in a Windows software house that does not use a version of MSCV (mostly 2003).

    I wrote online share trading software with MSCV v6 two years ago for the second biggest online trader in Australia.

    I prefer MSVC 2003 though.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

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, 05: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, 10:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM