Thread: Compilers for Windows 98?

  1. #1
    tremere
    Guest

    Compilers for Windows 98?

    I'm wanting to get into C++ programming. The other day I bought Bruce Eckel's C++ book, I really enjoy reading his stuff.

    On my machine I have VC++ 6.0 installed, but have read that this is not a good compiler/tool to use if you plan on writing software for both Windows and other platforms (in my case Linux).

    Are there any other compilers/tools to use to write C (thinking of learning that, also) and C++ on Windows 98, that are for free and work fully or don't cost a lot of money?

    Thanks,

    tremere

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    9
    "nods" Yea id have to agree Dev-C++ best choice for what you want. I just started programming a few weeks ago.. Its a great program.A nice alternative to paying a load of cash for a complicated program.

  4. #4
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    A nice alternative to paying a load of cash for a complicated program.
    I wouldn't call MSVC++ 6.0 a complicated program. I've never run into anything "complicated" about it. The bottom line is though, Visual C++ costs a lot. If you can easily afford it, I say go ahead. Otherwise, go for Borland or Dev or something like that.
    [email protected]
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  5. #5
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>>
    On my machine I have VC++ 6.0 installed, but have read that this is not a good compiler/tool to use if you plan on writing software for both Windows and other platforms (in my case Linux).
    <<<

    If you already have VC++ you don't need anything else. You write standard C++, it'll compile with VC on Windows and gcc on linux. What's wrong with that?

    Sure, if you start using system specific calls, but the same is true of any other compiler.

    >>> I've never run into anything "complicated" about it.

    Totally agree. It has a lot of features, but you don't have to use them if you don't want to.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  6. #6
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    VC++ 6 isn't as standards-compliant as GCC or MingW (the compiler Dev-C++ uses). In some cases, you'll get errors. The following won't compile on MSVC.

    Code:
    #include <iostream>
    
    using namespace std;
    
    int main( void ) 
    {
      for( int i = 0; i < 4; i++ ) cout<<"Hello"<<endl;
      for( int i = 0; i < 5; i++ ) cout<<"Goodbye"<<endl;
    }
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  7. #7
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    True, but I would never do that anyway. I always declare all of my variables at the top of the function they are in. I always have done, and luckily, every software house that I have worked for had installation standards which decreed that it shall be done that way.

    Just because something is possible doesn't mean it is necessarily desirable.

    However, yes there are a few deviations from the ANSI standard with VC++, there are with all compilers though. The IDE, debugger and other tools that come with VC++ would make it my tool of choice.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 09:56 AM
  2. HUGE fps jump
    By DavidP in forum Game Programming
    Replies: 23
    Last Post: 07-01-2004, 10:36 AM
  3. Windows 98 Auto Scroll Problem
    By StanleyC in forum Windows Programming
    Replies: 2
    Last Post: 04-26-2004, 08:05 AM
  4. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 07:18 AM
  5. Networking 98 with XP
    By Squintz in forum Tech Board
    Replies: 8
    Last Post: 01-03-2003, 06:11 PM