View Poll Results: Your most used C/C++ compiler?

Voters
40. You may not vote on this poll
  • MS Visual Studio

    22 55.00%
  • Borland

    2 5.00%
  • GCC

    25 62.50%
  • Other paid (Please post)

    1 2.50%
  • Other free (Please post)

    3 7.50%
  • Other open-source (Please post)

    3 7.50%
Multiple Choice Poll.

Thread: Your most used compiler

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768

    Your most used compiler

    What is your most used compiler when you work with C/C++:
    Last edited by Devil Panther; 07-15-2009 at 08:47 AM.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    I generally use gcc. From the command line (hate IDE's).
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Sebastiani View Post
    I generally use gcc. From the command line (hate IDE's).
    Ditto. Except I will say "always" instead of "generally". After observing things around cboard, I have to say I have zero temptation to change this. Plus I'm a linux guy, of course, so maybe I don't have that much choice in the matter anyway. Which makes me doubly glad that gcc is gcc.

    I won't go off on IDE's beyond saying that while they may be great for professionals I think they are a very bad idea for beginners (again based on observations at cboard) who would be better off using the command line and a decent text editor. Which makes it a shame that some (non gcc) compilers don't give you that choice.
    Last edited by MK27; 07-15-2009 at 09:35 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by MK27 View Post
    I won't go off on IDE's beyond saying that while they may be great for professionals I think they are a very bad idea for beginners (again based on observations at cboard) who would be better off using the command line and a decent text editor. Which makes it a shame that some (non gcc) compilers don't give you that choice.
    I sincerely disagree, but of course, this is subjective.
    I would think beginners are more confused with command lines than with IDEs that does it all for them.

    Anyway, I'm an all-around Visual Studio user. I have occasionally used GCC with Code::Blocks, but that's about it.
    Btw, Visual Studio is not a compiler; it is an IDE. Visual C++ (and Visual C?) is the compiler(s).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Elysia View Post
    I would think beginners are more confused with command lines than with IDEs that does it all for them.
    Yes, but while being confused by an IDE is no real cause for tears, wanting to be a computer programmer who doesn't use the command line sounds almost oxymoronic. They should be comfortable with CLI *before* they start programming IMO. And I bet if they were, they would not seem to have so much trouble with the IDE.

    Ie, if you are a programmer, IMO the IDE is optional, but the command line is not. Sorry.

    I don't think the "beginners" to which I referred are command line wizards who have been baffled by a set of drop down menus and a mouse, if you see my subjective opinion More like they are victims of a specific, particular situation on a specific, particular operating system.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Sebastiani View Post
    >> Visual C++ (and Visual C?) is the compiler(s).

    The actual compiler as invoked from the command line is cl (last time I used it anyway).
    Yes, the executable name is cl.exe. But the compiler's actual name is Visual C++ or Visual C.

    Quote Originally Posted by MK27 View Post
    Yes, but while being confused by an IDE is no real cause for tears, wanting to be a computer programmer who doesn't use the command line sounds almost oxymoronic. They should be comfortable with CLI *before* they start programming IMO. And I bet if they were, they would not seem to have so much trouble with the IDE.
    I don't know. That seems very subjective since you are a Linux user.
    I see no problem not knowing CLI if you're just developing normal Windows apps. Most of them do not deal with a lot of CLI stuff.

    Ie, if you are a programmer, IMO the IDE is optional, but the command line is not. Sorry.
    That also seems very subjective to me.
    I'd say the other way around.

    More like they are victims of a specific, particular situation on a specific, particular operating system.
    Specific problems? But then would it matter if they are CLI gurus or IDE gurus, or am I way off what you meant here?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by MK27 View Post
    Yes, but while being confused by an IDE is no real cause for tears, wanting to be a computer programmer who doesn't use the command line sounds almost oxymoronic. They should be comfortable with CLI *before* they start programming IMO. And I bet if they were, they would not seem to have so much trouble with the IDE.

    Ie, if you are a programmer, IMO the IDE is optional, but the command line is not. Sorry.

    I don't think the "beginners" to which I referred are command line wizards who have been baffled by a set of drop down menus and a mouse, if you see my subjective opinion More like they are victims of a specific, particular situation on a specific, particular operating system.
    Learning everything at the same time is a formula for disaster.
    Learn the language first (at least well enough to get past all the real beginner mistakes); then you can teach them how to write Makefiles...
    But of course, I think before they even get into programming, they should take some OS courses including UNIX & Windows. Then they'll learn how to use the command line and how the OS works.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  8. #8
    DESTINY BEN10's Avatar
    Join Date
    Jul 2008
    Location
    in front of my computer
    Posts
    804
    I prefer IDE's over command line, that's why I use MSVS. They are easy to handle in my opinion. But I'm sure I even dont know about 1% of all its function. Before MSVS, I was using borland.
    HOPE YOU UNDERSTAND.......

    By associating with wise people you will become wise yourself
    It's fine to celebrate success but it is more important to heed the lessons of failure
    We've got to put a lot of money into changing behavior


    PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
    IDE- Microsoft Visual Studio 2008 Express Edition

  9. #9
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> Before MSVS, I was using borland.

    I used Borland compilers for many years, and can honestly say they are my favorite to work with. Probably the "fastest" compiler ever built, too.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  10. #10
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Moved to General Discussions - a better home for polls.

    Oh, and MSVC++ 2005 or the most recent version of GCC depending on what I'm doing and on what platform

  11. #11
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> Visual C++ (and Visual C?) is the compiler(s).

    The actual compiler as invoked from the command line is cl (last time I used it anyway).
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  12. #12
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> Yes, the executable name is cl.exe. But the compiler's actual name is Visual C++ or Visual C.

    No, the name of the *package* is Visual C++. The name of the compiler is cl. Just ask the command prompt.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  13. #13
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    Quote Originally Posted by Sebastiani View Post
    >> Yes, the executable name is cl.exe. But the compiler's actual name is Visual C++ or Visual C.

    No, the name of the *package* is Visual C++. The name of the compiler is cl. Just ask the command prompt.
    90% of VS users don't know it, so why bother
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  14. #14
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    No. The compiler is called Microsoft C/C++ Optimizing Compiler
    Just run it on your command prompt.

    cl.exe is just an executable name. Could be rocksolid.exe and should still say the truth. Meanwhile Visual C++ is the generic name given to the C/C++ component of the Visual Studio, including the IDE, compiler, linker, and libraries.

    Anyways, I use visual C++ and MinGW on windows depending on what i'm doing, and gcc on Linux.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  15. #15
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> cl.exe is just an executable name. Could be rocksolid.exe and should still say the truth. Meanwhile Visual C++ is the generic name given to the C/C++ component of the Visual Studio, including the IDE, compiler, linker, and libraries.

    You mean the package, right?

    I'm just being an ass. Ignore me.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

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. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM

Tags for this Thread