Thread: Special Compiler for win app's

  1. #1
    Unregistered
    Guest

    Question Special Compiler for win app's

    I have been programming C++ for a few weeks now, and I find it necessary in my next project (a login program for win 9x) to make a windows based program. I have all the necessary tutorials, but I need to know if i need to have a certain compiler. I know that Visual C++ will make windows for me, but i don't have 100 bucks right now. So, what i do have is the free borland c++ compiler 5.5. I would like to know if that will compile programs correctly if they were written as windows applications. Or if there is some sort of command i have to use with it to do so. If the borland compiler i have won't compile for windows, could you tell me of a compiler that will. Thank you very much.
    ~DJ

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    8
    The Borland compiler should be fine. Another compiler is Dev-C++ which has its own GUI, resource editor and stuff. Although I recommend VC++, it has its advantages.

    http://www.bloodshed.net/devcpp.html - Dev-C++.

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Borland's bcc5.5 cmd line tools are fine. If you write your program using win32 API then anything that compiles with msvc should compile as is with bcc5.5.

    For win9x make sure you have the following lines added to your bcc32.cfg file:

    -DWINVER=0x0400
    -D_WIN32_WINNT=0x0400

    This is so the compiler recognises it's on a win9x platform; the default is winNT/2k.

    Good luck.

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    DevC++ is a great free IDE & Compiler....... also I have recently got Codewarrior 5 from the front of a Magazine (in the UK) and it is a fantastic compiler with far more stuff than devc++ (dont know if it will replace VC++ for me, but I really like it and I am using it as I type).......

  5. #5
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    >>got Codewarrior 5 from the front of a Magazine (in the UK)<<

    Where? Which magazine? I don't know Codewarrior but for the prize of a magazine i'd give it a go.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  6. #6
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Fordy, do you know how I can get only that issue? I'm in America, and the PC Plus site seems to only sell subscriptions.

  7. #7
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    you sure fordy? CodeWarrior Pro 7.0 is about $550 - $700... is it learning or something?
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  8. #8
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    No, he's correct, and I wanna get it bad. But I am stuck in America and no one sells the magazine.

    P.S. Go here if you don't believe: http://www.pcplus.co.uk/article.asp?id=32151

  9. #9
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    ahh CodeWarrior 5 but still WOW!
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  10. #10
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by Ken Fitlike
    >>got Codewarrior 5 from the front of a Magazine (in the UK)<<

    Where? Which magazine? I don't know Codewarrior but for the prize of a magazine i'd give it a go.
    I think PC Plus has it, but I bought a relitvely new mag called "Programmer" or something.......It cost about £5..........

    Definately worth getting.........at first glipmse it doesnt have a visual resource editor, but if you hunt on the disk you will find one.......and not a bad one at that!....probably not as good as the VC++ ResEditor....as its not integrated...........

    It has loads of good features and can compile Java as well...(I think it offers the M$ version as well as Sun's).............there's the Platform SDK and a pretty good version of the SDK Docs............Hell it even seems to have MFC (though a quick test yesterday says that it didnt like my MFC progs I have done in VC++.....but what the hell!!!)

    As it has now appeared for free I'm sure it will appear soon everywhere....but for you Brits (and especially you Ken)...get down to WHSmith's and part with a fiver....cuz its well worth it!

  11. #11
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    603
    No, he's correct, and I wanna get it bad. But I am stuck in America and no one sells the magazine.
    Hmmmmm. Just a thought, but as it's a freebie, how legit would it be for one of us to copy it & send gg4 a copy??

    edit. Or if not, we could maybe buy a spare copy of the mag & send you the CD gg4?
    Last edited by RobR; 04-25-2002 at 04:43 AM.
    Visit entropysink.com - It's what your PC is made for!

  12. #12
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by RobR


    Hmmmmm. Just a thought, but as it's a freebie, how legit would it be for one of us to copy it & send gg4 a copy??

    edit. Or if not, we could maybe buy a spare copy of the mag & send you the CD gg4?
    I cant see a problem....I guess the licene will prohibit it as the always do....but who would prosecute?

  13. #13
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Fordy, how big is it? Cause if it isn't too big, I can set up a yahoo briefcase and you can put it there.

  14. #14
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by golfinguy4
    Fordy, how big is it? Cause if it isn't too big, I can set up a yahoo briefcase and you can put it there.
    Sorry dude.... > 500MB......I'm on 56K.......

    I'm sure if its available here then the US must have it......Hell you always get more than us Brits.....

  15. #15
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    I've searched everywhere. BN doesn't have it. Every internet site I can even think of or find doesn't have it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  2. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  3. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  4. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  5. Help With finding a compiler
    By macman in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-15-2005, 08:15 AM