Which compiler..??

This is a discussion on Which compiler..?? within the C Programming forums, part of the General Programming Boards category; Hi I'm new in programming in C. And I'm looking for a good compiler. I was using dev-c++ but someone ...

  1. #1
    C-no_Ob Bennie98's Avatar
    Join Date
    Oct 2010
    Location
    Ledeberg, Ghent, East-Flanders, Belgium
    Posts
    49

    Which compiler..??

    Hi I'm new in programming in C.
    And I'm looking for a good compiler.

    I was using dev-c++ but someone on this forum said I was using a bad compiler.

    As it seems it's not good to compile C with a gcc compiler...
    so now i'm wondering which compiler IS a good one..

    If you can help me, please do because I have tried dozens and they all have the gcc-compiler...

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    smorgasbordet - Pelles C

    Free.
    Standards based c-99 compiler based on the LCC model.
    32 and 64 bit versions available.

    This one I can vouch for. I use it everyday.

  3. #3
    C-no_Ob Bennie98's Avatar
    Join Date
    Oct 2010
    Location
    Ledeberg, Ghent, East-Flanders, Belgium
    Posts
    49
    thank you very much... i'm going to try it now

  4. #4
    Registered User
    Join Date
    Jan 2010
    Posts
    34
    Why gcc is not a good compiler?

  5. #5
    C-no_Ob Bennie98's Avatar
    Join Date
    Oct 2010
    Location
    Ledeberg, Ghent, East-Flanders, Belgium
    Posts
    49
    i don't know why... Someone on this board warned me about it...

    Reversing String Problem

    that's why I was looking for an other one... but Pelles C looks very promising

  6. #6
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    I remember that thread - I wrote a program for the OP, and he never came back to the thread.

    Eh, c'est la vie!

  7. #7
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Bennie98 View Post
    i don't know why... Someone on this board warned me about it...

    Reversing String Problem

    that's why I was looking for an other one... but Pelles C looks very promising
    Bennie... Gcc is not a bad compiler. I don't personally like it very much but that doesn't mean it's dangerous. ANY compiler can cause crashes if you're feeding it bad souce code. PellesC wins with me because of 1) a really great IDE to write code in, 2) very detailed warnings and compiler errors and 3) it is an optimizing compiler.
    Last edited by CommonTater; 10-25-2010 at 03:35 AM. Reason: "Comipler"??? I have GOT to learn to spell.

  8. #8
    C-no_Ob Bennie98's Avatar
    Join Date
    Oct 2010
    Location
    Ledeberg, Ghent, East-Flanders, Belgium
    Posts
    49
    Yez... because it's for my job... and in the weekend i like to let it rest

    but i've tried that program and i'm very pleased.. now it works fine
    especially with this new compiler
    thx a lot

  9. #9
    C-no_Ob Bennie98's Avatar
    Join Date
    Oct 2010
    Location
    Ledeberg, Ghent, East-Flanders, Belgium
    Posts
    49
    Quote Originally Posted by CommonTater View Post
    Bennie... Gcc is not a bad compiler. I don't personally like it very much but that doesn't mean it's dangerous. ANY compiler can cause crashes if you're feeding it bad souce code.
    owkay... but i just said that because the girl in the other thread said that^^
    i don't know.. i'm new at all this..

  10. #10
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Bennie98 View Post
    owkay... but i just said that because the girl in the other thread said that^^
    i don't know.. i'm new at all this..
    It's ok... As I said. I prefer PellesC for lots of reasons... Believe me, if I thought there was a better C-99 package, I'd be using it.

    I've tried Gcc and DevC++ and frankly I was not impressed.

  11. #11
    C-no_Ob Bennie98's Avatar
    Join Date
    Oct 2010
    Location
    Ledeberg, Ghent, East-Flanders, Belgium
    Posts
    49
    well I must say.. I've been using it for a couple of things and as I can see ... it's far more detailed... plus it prompts where to put what as you are typing.. which I kinda missed in dev-c++


    So thank you very much for this very good compiler I've enjoyed it already. something i didn't do with dev-c++.

  12. #12
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Bennie98 View Post
    well I must say.. I've been using it for a couple of things and as I can see ... it's far more detailed... plus it prompts where to put what as you are typing.. which I kinda missed in dev-c++


    So thank you very much for this very good compiler I've enjoyed it already. something i didn't do with dev-c++.
    One tip, that you may have discovered already... in the Tools/Options/Source, enable CallTips and put BrowseInfo on full. Then go into Folders and click the Brows Info button... You get some very nice screen tips as you're programming.

    Also there are a couple of PellesC specific #defines you may want to try...

    #define WIN32_DEFAULT_LIBS automatically includes Windows libraries when compiling.
    #define WIN32_LEAN_AND_MEAN avoids including nested include files.

    Glad you're enjoying it.

  13. #13
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,832
    > I was using dev-c++ but someone on this forum said I was using a bad compiler.
    dev-c++ is obsolete and unmaintained IDE. So as a result, the gcc it comes with is also obsolete (and weak on the C99 front).

    If you want a good IDE in the "something like" mould, with an up to date gcc, then use Code::Blocks

    Outside of Microsoft, the IDE and compiler are separate entities. A good IDE should be configurable to use different compilers. Compilers simply don't care about IDE's.

    But carry on using your other compiler if you want to. If your program works on both of them, you're in pretty good shape!
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  14. #14
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Salem... in all due respect, have you ever used PellesC?

    It's some pretty impressive stuff... Tight integration between Compiler and IDE, full set of windows headers and libs included, image, icon and resource editors, full c-99 libs, many custom libs included too. Pelle did a really great job putting it together.

    So, I'm suggesting you try it before you knock it

  15. #15
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,832
    Where did I say anything against it?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Page 1 of 2 12 LastLast
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, 05:04 AM
  2. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 12:07 PM
  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. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 10:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21