1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Best compiler for c/c++

Discussion in 'C, C++, C#' started by kane44, Jan 30, 2012.

Thread Status:
Not open for further replies.
  1. kane44

    kane44 Newbie

    Joined:
    Jan 29, 2012
    Messages:
    2
    Likes Received:
    0
    Hi,
    I recently started learning c++and i just want to know which is world best compiler for c/c++.
     
  2. black-zeppelin

    black-zeppelin Newbie

    Joined:
    Jan 7, 2010
    Messages:
    4
    Likes Received:
    2
    For education: Borland C++ builder
    Dev c++ for console applications
     
  3. DanielMA

    DanielMA Registered Member

    Joined:
    Nov 4, 2011
    Messages:
    65
    Likes Received:
    5
    Location:
    DK
    Easy, GCC! I use it for all my c and c++ needs.
     
  4. 2makemoney

    2makemoney Regular Member

    Joined:
    Oct 10, 2011
    Messages:
    434
    Likes Received:
    92
    Location:
    USA
    Hey. I'm tacking C classes too. They make me use gcc.
     
  5. DanielMA

    DanielMA Registered Member

    Joined:
    Nov 4, 2011
    Messages:
    65
    Likes Received:
    5
    Location:
    DK
  6. reinrein

    reinrein Regular Member

    Joined:
    Feb 8, 2008
    Messages:
    443
    Likes Received:
    343
    Home Page:
    Console or Plain Codes, use visual studio. The best IDE there is for me. For the GUI, if you want to still use native code, use borland(For faster process as you can drag and drop controls), then just reference your vs-created dlls. If you dont mind using .net gui, you can use vs all the way.
     
  7. Biggles

    Biggles Registered Member

    Joined:
    Jun 19, 2011
    Messages:
    61
    Likes Received:
    25
    How do you quantify best? Fastest? Smallest compiled executable? Lowest memory usage when running your app? Really the answer depends on what you app is doing.

    If you want a straight answer then the Intel compiler. It hamstrings AMD processors though by not using SSE instructions on them, just on Intel chips.

    EDIT - Do you really mean what is the best IDE?
     
    Last edited: Jan 30, 2012
  8. cutemohamed

    cutemohamed Junior Member

    Joined:
    Mar 17, 2011
    Messages:
    101
    Likes Received:
    15
    if you want a compiler for c++, we use microsoft visual studio in my University. I tried it and it's way better than others.
     
  9. hiderightnow

    hiderightnow Junior Member

    Joined:
    Jul 19, 2010
    Messages:
    104
    Likes Received:
    22
    Microsoft Visual Studio. When you're proficient enough, you can switch to MinGW.
     
  10. soxio123

    soxio123 Newbie

    Joined:
    Mar 14, 2012
    Messages:
    42
    Likes Received:
    0
    Microsoft Visual Studio 2010

    I think 2011/12 is out the beta
     
  11. sameer5762

    sameer5762 Elite Member

    Joined:
    Sep 23, 2009
    Messages:
    5,228
    Likes Received:
    1,468
    Occupation:
    Software engineer
    Location:
    http;//sameer5762.com
    Home Page:
    Yeah you can try Dev c++....Its a better platform for c/c++
     
  12. Ron Tycoon

    Ron Tycoon Newbie

    Joined:
    Mar 31, 2012
    Messages:
    4
    Likes Received:
    2
    Knowledge of GCC/G++ toolchain will help you a lot in your programming life. For very quick things in ANSI C, you can try Tiny C Compiler (TCC) by Fabrice Bellard.
     
  13. ugjunk

    ugjunk Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 1, 2011
    Messages:
    2,345
    Likes Received:
    721
    Location:
    Los Angeles
    Home Page:
    Use Dev C++ it's simple, liteweight and works great !! :)
     
  14. SahL

    SahL Elite Member

    Joined:
    Jan 8, 2011
    Messages:
    1,594
    Likes Received:
    1,296
    Occupation:
    ★SEO expert and ★Sexpert
    Location:
    Bombay
    Home Page:
  15. Ron Tycoon

    Ron Tycoon Newbie

    Joined:
    Mar 31, 2012
    Messages:
    4
    Likes Received:
    2
    Why do you all keep recommending IDE's while he is asking for a compiler?
     
    • Thanks Thanks x 1
  16. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,935
    Occupation:
    Design director
    Location:
    Paris (France)
    Because OP didn't say what OS he uses...

    Beny
     
  17. orzyman

    orzyman Senior Member

    Joined:
    May 22, 2011
    Messages:
    808
    Likes Received:
    197
    Occupation:
    http://i.imgur.com/0aNSa.gif
    Location:
    in your mind
    if you want console application go for Dev c++
     
  18. PhillipsPierce

    PhillipsPierce Junior Member

    Joined:
    Dec 27, 2011
    Messages:
    155
    Likes Received:
    23
    You can go for Dev C++.
     
  19. satyawrat

    satyawrat Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2009
    Messages:
    926
    Likes Received:
    1,182
    Occupation:
    Hustler
    Location:
    Gurgaon
    Home Page:
    For compiler GCC is the winner hands down. For windows environment MingW...
    IDE: Eclipse CDT -- OR -- Code::Blocks.
     
  20. Chris22

    Chris22 Regular Member

    Joined:
    Sep 29, 2010
    Messages:
    400
    Likes Received:
    1,059
    It's only ever gotta be Mingw
     
Thread Status:
Not open for further replies.