Thread: Compilers, Compilers, Compilers

  1. #1
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361

    Exclamation Compilers, Compilers, Compilers

    OK OK OK, I need to know this one. I have been using a console compiler (DJGPP) and I've been thinking about going to a windows compiler, to color text etc. When someone says windows compiler, does that mean the compiler runs on windows or what? Is Borland a windows compiler, I mean can It display images and stuff?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    I'd say that a windows compiler produced Win32 PE executables and provides the libraries you need to access the Windows API functions.

    That's what I would expect personally....others may have other ideas.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    Microsoft Visual C++ makes Windows programs and it runs in Windows. It's the only windows compiler I've used. It gets access to the Windows functions via windows.h

    I agree with Fordy. Any compiler that can create Windows applications is a Windows compiler. There are for example cross-compilers that run in windows, but generate executable code that runs on an imbedded processor. I would not call these Windows compilers.

  4. #4
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Perhaps he meant "Window compiler".

    It is very easy to create windowed applications using Borland C++ Builder.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  5. #5
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361

    more compilers?

    So, if I bought Borland, I could make windows programs, with colors etc.
    (good question for magos!)

  6. #6
    Registered User
    Join Date
    Feb 2002
    Posts
    465
    dont 'buy' borland.

    if you are going to buy any compiler, buy MSVC++. nearly all of the others you can get for free somewhere.
    I came up with a cool phrase to put down here, but i forgot it...

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    The borland you get for free doesnt have all the exras of the one you purchase...so I guess it is worth purchasing....I cant really commit as I have never tried it, but I know people who do and many think its a very good tool....I've used other Borland tools in the past and I found them to be very good

    My main compiler was always VC++6....but recently I have done everything in CodeWarrior......which is a very good compiler IMO and well worth a buying

  8. #8
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    IS there a windows version of CodeWarrior?

  9. #9
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680
    Originally posted by face_master
    IS there a windows version of CodeWarrior?
    CodeWarrior

  10. #10
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361

    OK...

    Alright, so 1st of all, (this is probably very stupid) what is VC whatever it's called. Can it compile windows apps? Can someone tell answer this. Next Question, in my compiler I can include windows.h but all of the functions of windows h aren't defined. I can't color text use sleep, PlaySound, or anything. Can someone tell me where to get a new windows.h file or what the problem is? thx

  11. #11
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793

    Re: OK...

    Originally posted by Stan100
    Alright, so 1st of all, (this is probably very stupid) what is VC whatever it's called. Can it compile windows apps? Can someone tell answer this. Next Question, in my compiler I can include windows.h but all of the functions of windows h aren't defined. I can't color text use sleep, PlaySound, or anything. Can someone tell me where to get a new windows.h file or what the problem is? thx
    You cant use a header if it wasnt intended for your compiler....adding just a header will not do.

    VC is Visual C++ - it produces Windows programs just fine as does Borland Builder, DevC++ and Codewarrior for Windows to name but 3. Devc++ is downloadable for free.

    Do a search to get it

  12. #12
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    What compiler? You may need to link in the libraries.

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. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 07:32 AM
  3. Compilers for Windows
    By LegendsEnd in forum Windows Programming
    Replies: 2
    Last Post: 03-26-2004, 08:03 AM
  4. small compilers?
    By Korn1699 in forum C++ Programming
    Replies: 2
    Last Post: 06-22-2003, 05:58 PM
  5. target OS compilers
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 07-01-2002, 11:08 AM