Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Best c++ compiler

Best c++ compiler

Scheduled Pinned Locked Moved The Lounge
c++csharpdelphidotnetvisual-studio
17 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hogan john
    wrote on last edited by
    #1

    I learned programming in Turbo C++ 1.1 in my collage days. After that I lost the touch with this mighty language tool. Now a days I have ambition to start hobby programming in C++. Of course my purpose is to do network and low level system side programming. But the turbo C++ 1.1 become obsolete. So I searched for a good free C++ compiler. I found Dev-Cpp++. I like it. Later I found I can download Borland C++ 5.5 from their web site. The only problem is that there is no IDE. Again I search and found SMALLIDE 2.1. I think it is enough for my purpose. But there is a problem that free Borland C++ 5.5 not included the debugger. The link I found in net to download the debugger is now not active. Here is that link http://www.borland.com/bcppbuilder/turbodebugger/ I know here is lot of experts working in C/C++. Kindly suggest me a good C++ complier. The .NET managed C++/CLI is better than this? It required the .NET Framework to run. Do you feel it’s like the bird in golden cage?

    L P C P S 7 Replies Last reply
    0
    • H hogan john

      I learned programming in Turbo C++ 1.1 in my collage days. After that I lost the touch with this mighty language tool. Now a days I have ambition to start hobby programming in C++. Of course my purpose is to do network and low level system side programming. But the turbo C++ 1.1 become obsolete. So I searched for a good free C++ compiler. I found Dev-Cpp++. I like it. Later I found I can download Borland C++ 5.5 from their web site. The only problem is that there is no IDE. Again I search and found SMALLIDE 2.1. I think it is enough for my purpose. But there is a problem that free Borland C++ 5.5 not included the debugger. The link I found in net to download the debugger is now not active. Here is that link http://www.borland.com/bcppbuilder/turbodebugger/ I know here is lot of experts working in C/C++. Kindly suggest me a good C++ complier. The .NET managed C++/CLI is better than this? It required the .NET Framework to run. Do you feel it’s like the bird in golden cage?

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      I suggest VC++ Express. It is free, and comes with a debugger :)

      xacc.ide - now with TabsToSpaces support
      IronScheme - 1.0 alpha 4a out now (29 May 2008)

      H 1 Reply Last reply
      0
      • L leppie

        I suggest VC++ Express. It is free, and comes with a debugger :)

        xacc.ide - now with TabsToSpaces support
        IronScheme - 1.0 alpha 4a out now (29 May 2008)

        H Offline
        H Offline
        hogan john
        wrote on last edited by
        #3

        Oh ok thanks. But personally I like anything other than .NET technologies. Anyway thanks for your suggestion. :)

        B 1 Reply Last reply
        0
        • H hogan john

          I learned programming in Turbo C++ 1.1 in my collage days. After that I lost the touch with this mighty language tool. Now a days I have ambition to start hobby programming in C++. Of course my purpose is to do network and low level system side programming. But the turbo C++ 1.1 become obsolete. So I searched for a good free C++ compiler. I found Dev-Cpp++. I like it. Later I found I can download Borland C++ 5.5 from their web site. The only problem is that there is no IDE. Again I search and found SMALLIDE 2.1. I think it is enough for my purpose. But there is a problem that free Borland C++ 5.5 not included the debugger. The link I found in net to download the debugger is now not active. Here is that link http://www.borland.com/bcppbuilder/turbodebugger/ I know here is lot of experts working in C/C++. Kindly suggest me a good C++ complier. The .NET managed C++/CLI is better than this? It required the .NET Framework to run. Do you feel it’s like the bird in golden cage?

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #4

          hogan.john wrote:

          I found Dev-Cpp++. I like it.

          Why not continue to use it then? What kind of development are you looking to do in C++?

          "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

          H 1 Reply Last reply
          0
          • H hogan john

            I learned programming in Turbo C++ 1.1 in my collage days. After that I lost the touch with this mighty language tool. Now a days I have ambition to start hobby programming in C++. Of course my purpose is to do network and low level system side programming. But the turbo C++ 1.1 become obsolete. So I searched for a good free C++ compiler. I found Dev-Cpp++. I like it. Later I found I can download Borland C++ 5.5 from their web site. The only problem is that there is no IDE. Again I search and found SMALLIDE 2.1. I think it is enough for my purpose. But there is a problem that free Borland C++ 5.5 not included the debugger. The link I found in net to download the debugger is now not active. Here is that link http://www.borland.com/bcppbuilder/turbodebugger/ I know here is lot of experts working in C/C++. Kindly suggest me a good C++ complier. The .NET managed C++/CLI is better than this? It required the .NET Framework to run. Do you feel it’s like the bird in golden cage?

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            hogan.john wrote:

            I found Dev-Cpp++. I like it

            I played with it for a while but I have to say that I was very disappointed. I found the IDE was quite crappy (but that's a matter of taste) and the debugger was totally useless: it wouldn't stop on certain breakpoints, gave strange behavior sometimes. So, how can you debug something if you can't trust your debugger ? As someone already mentioned before, I also suggest Visual Studio Express edition. You can perfectly developp C++ code with it, you don't have to do some .NET stuff.

            Cédric Moonen Software developer
            Charting control [v1.4]

            H 1 Reply Last reply
            0
            • P Paul Conrad

              hogan.john wrote:

              I found Dev-Cpp++. I like it.

              Why not continue to use it then? What kind of development are you looking to do in C++?

              "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

              H Offline
              H Offline
              hogan john
              wrote on last edited by
              #6

              Paul Conrad wrote:

              Why not continue to use it then?

              Yes I like it but since I am not an expert in Dev-Cpp, I don’t know its capabilities and weakness. That’s why I asked it to you.

              P 1 Reply Last reply
              0
              • C Cedric Moonen

                hogan.john wrote:

                I found Dev-Cpp++. I like it

                I played with it for a while but I have to say that I was very disappointed. I found the IDE was quite crappy (but that's a matter of taste) and the debugger was totally useless: it wouldn't stop on certain breakpoints, gave strange behavior sometimes. So, how can you debug something if you can't trust your debugger ? As someone already mentioned before, I also suggest Visual Studio Express edition. You can perfectly developp C++ code with it, you don't have to do some .NET stuff.

                Cédric Moonen Software developer
                Charting control [v1.4]

                H Offline
                H Offline
                hogan john
                wrote on last edited by
                #7

                How about Borland C++ 5.5? Do you know to get its debugger?

                C 1 Reply Last reply
                0
                • H hogan john

                  How about Borland C++ 5.5? Do you know to get its debugger?

                  C Offline
                  C Offline
                  Cedric Moonen
                  wrote on last edited by
                  #8

                  Nope sorry, I never used Borland compiler.

                  Cédric Moonen Software developer
                  Charting control [v1.4]

                  1 Reply Last reply
                  0
                  • H hogan john

                    Paul Conrad wrote:

                    Why not continue to use it then?

                    Yes I like it but since I am not an expert in Dev-Cpp, I don’t know its capabilities and weakness. That’s why I asked it to you.

                    P Offline
                    P Offline
                    Paul Conrad
                    wrote on last edited by
                    #9

                    To be honest, I haven't used it in a few years since moving over to .NET.

                    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                    1 Reply Last reply
                    0
                    • H hogan john

                      Oh ok thanks. But personally I like anything other than .NET technologies. Anyway thanks for your suggestion. :)

                      B Offline
                      B Offline
                      benjymous
                      wrote on last edited by
                      #10

                      There's nothing forcing you to use .NET code in your C++ application - VC++ Express will let you write native Win32 code too

                      -- Help me! I'm turning into a grapefruit! Buzzwords!

                      M 1 Reply Last reply
                      0
                      • H hogan john

                        I learned programming in Turbo C++ 1.1 in my collage days. After that I lost the touch with this mighty language tool. Now a days I have ambition to start hobby programming in C++. Of course my purpose is to do network and low level system side programming. But the turbo C++ 1.1 become obsolete. So I searched for a good free C++ compiler. I found Dev-Cpp++. I like it. Later I found I can download Borland C++ 5.5 from their web site. The only problem is that there is no IDE. Again I search and found SMALLIDE 2.1. I think it is enough for my purpose. But there is a problem that free Borland C++ 5.5 not included the debugger. The link I found in net to download the debugger is now not active. Here is that link http://www.borland.com/bcppbuilder/turbodebugger/ I know here is lot of experts working in C/C++. Kindly suggest me a good C++ complier. The .NET managed C++/CLI is better than this? It required the .NET Framework to run. Do you feel it’s like the bird in golden cage?

                        P Offline
                        P Offline
                        pg az
                        wrote on last edited by
                        #11

                        Just today actually I happened to be curious about the assembly code generated for a sequence like: Cother *m_pother;//Member being dereffed { //Makes bad code with VC6 *and* vc2008 //m_pother is fetched from the class instance TWICE m_pother->otherA = 5; m_pother->otherB = 6; } { //Do I *HAVE* to do this, when compiling with "multithreaded-dll" ? //Coded this way, BOTH vc6 and vc2008 fetch the m_pother into a register nicely //And re-use it for both assignments //Even more savings if you're stuffing more items in the same block. Cother *p = m_pother; p->otherA = 5; p->otherB = 6; } In other words, if *I* ruled the world, in the absence of a "volatile" declaration on m_pother, the compiler could assume that m_pother had the same value across two totally-plain-vanilla assignment statements. Is it really inherent in the language standard for multithreaded-C++, that the compiler CAN'T assume m_pother stays the same, or is that just the way Microsoft interprets things ? If you DO have another thread altering the value of m_pother, as might easily happen if you're really multithreading m_pother, then OK you would need to re-fetch m_pother if there were some kind of loop or backwards branch. But anyway Microsoft definitely takes the safe approach of always refetching every time no matter even if it's only consecutive assignments.

                        pg--az

                        D 1 Reply Last reply
                        0
                        • H hogan john

                          I learned programming in Turbo C++ 1.1 in my collage days. After that I lost the touch with this mighty language tool. Now a days I have ambition to start hobby programming in C++. Of course my purpose is to do network and low level system side programming. But the turbo C++ 1.1 become obsolete. So I searched for a good free C++ compiler. I found Dev-Cpp++. I like it. Later I found I can download Borland C++ 5.5 from their web site. The only problem is that there is no IDE. Again I search and found SMALLIDE 2.1. I think it is enough for my purpose. But there is a problem that free Borland C++ 5.5 not included the debugger. The link I found in net to download the debugger is now not active. Here is that link http://www.borland.com/bcppbuilder/turbodebugger/ I know here is lot of experts working in C/C++. Kindly suggest me a good C++ complier. The .NET managed C++/CLI is better than this? It required the .NET Framework to run. Do you feel it’s like the bird in golden cage?

                          S Offline
                          S Offline
                          Simon P Stevens
                          wrote on last edited by
                          #12

                          I used DevCPP at uni, and although I quite liked it at the time, it is totally outclassed by visual studio. (I haven't done any C++ since uni though) I belive Visual Studio express lets you do native C++, so you don't have to use .net if you don't want to.

                          Simon

                          1 Reply Last reply
                          0
                          • P pg az

                            Just today actually I happened to be curious about the assembly code generated for a sequence like: Cother *m_pother;//Member being dereffed { //Makes bad code with VC6 *and* vc2008 //m_pother is fetched from the class instance TWICE m_pother->otherA = 5; m_pother->otherB = 6; } { //Do I *HAVE* to do this, when compiling with "multithreaded-dll" ? //Coded this way, BOTH vc6 and vc2008 fetch the m_pother into a register nicely //And re-use it for both assignments //Even more savings if you're stuffing more items in the same block. Cother *p = m_pother; p->otherA = 5; p->otherB = 6; } In other words, if *I* ruled the world, in the absence of a "volatile" declaration on m_pother, the compiler could assume that m_pother had the same value across two totally-plain-vanilla assignment statements. Is it really inherent in the language standard for multithreaded-C++, that the compiler CAN'T assume m_pother stays the same, or is that just the way Microsoft interprets things ? If you DO have another thread altering the value of m_pother, as might easily happen if you're really multithreading m_pother, then OK you would need to re-fetch m_pother if there were some kind of loop or backwards branch. But anyway Microsoft definitely takes the safe approach of always refetching every time no matter even if it's only consecutive assignments.

                            pg--az

                            D Offline
                            D Offline
                            Daniel Grunwald
                            wrote on last edited by
                            #13

                            The compiler may only cache this->someField if it can prove that the assignment doesn't change it.

                            1 Reply Last reply
                            0
                            • B benjymous

                              There's nothing forcing you to use .NET code in your C++ application - VC++ Express will let you write native Win32 code too

                              -- Help me! I'm turning into a grapefruit! Buzzwords!

                              M Offline
                              M Offline
                              Michal Zalewski
                              wrote on last edited by
                              #14

                              Install PlatformSDK too: http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en[^]

                              ---------------------------------------------- When the sorrow takes me I'm embracing the darkness alone Please - take me home [Embraced By Darkness - Saturnus]

                              N 1 Reply Last reply
                              0
                              • H hogan john

                                I learned programming in Turbo C++ 1.1 in my collage days. After that I lost the touch with this mighty language tool. Now a days I have ambition to start hobby programming in C++. Of course my purpose is to do network and low level system side programming. But the turbo C++ 1.1 become obsolete. So I searched for a good free C++ compiler. I found Dev-Cpp++. I like it. Later I found I can download Borland C++ 5.5 from their web site. The only problem is that there is no IDE. Again I search and found SMALLIDE 2.1. I think it is enough for my purpose. But there is a problem that free Borland C++ 5.5 not included the debugger. The link I found in net to download the debugger is now not active. Here is that link http://www.borland.com/bcppbuilder/turbodebugger/ I know here is lot of experts working in C/C++. Kindly suggest me a good C++ complier. The .NET managed C++/CLI is better than this? It required the .NET Framework to run. Do you feel it’s like the bird in golden cage?

                                N Offline
                                N Offline
                                Nemanja Trifunovic
                                wrote on last edited by
                                #15

                                Dev-Cpp is not a compiler, it's an IDE that uses GNU g++ as a compiler. Anyway, as others have suggested, probably the best option for you is VC++ 2008 Express[^]. You can develop native applications with it just fine. Some other good and free compilers are MinGW[^] (a Windows port for the GNU compiler) and Digital Mars[^].

                                Programming Blog utf8-cpp

                                1 Reply Last reply
                                0
                                • M Michal Zalewski

                                  Install PlatformSDK too: http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en[^]

                                  ---------------------------------------------- When the sorrow takes me I'm embracing the darkness alone Please - take me home [Embraced By Darkness - Saturnus]

                                  N Offline
                                  N Offline
                                  Nemanja Trifunovic
                                  wrote on last edited by
                                  #16

                                  It is not necessary for the 2008 version.

                                  Programming Blog utf8-cpp

                                  1 Reply Last reply
                                  0
                                  • H hogan john

                                    I learned programming in Turbo C++ 1.1 in my collage days. After that I lost the touch with this mighty language tool. Now a days I have ambition to start hobby programming in C++. Of course my purpose is to do network and low level system side programming. But the turbo C++ 1.1 become obsolete. So I searched for a good free C++ compiler. I found Dev-Cpp++. I like it. Later I found I can download Borland C++ 5.5 from their web site. The only problem is that there is no IDE. Again I search and found SMALLIDE 2.1. I think it is enough for my purpose. But there is a problem that free Borland C++ 5.5 not included the debugger. The link I found in net to download the debugger is now not active. Here is that link http://www.borland.com/bcppbuilder/turbodebugger/ I know here is lot of experts working in C/C++. Kindly suggest me a good C++ complier. The .NET managed C++/CLI is better than this? It required the .NET Framework to run. Do you feel it’s like the bird in golden cage?

                                    D Offline
                                    D Offline
                                    David Crow
                                    wrote on last edited by
                                    #17

                                    Eclipse has a C++ plug-in. They're both free.

                                    "Love people and use things, not love things and use people." - Unknown

                                    "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups