A good compiler

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ajinkya

    A good compiler

    Can anyone suggest me a good compiler for(c/cpp) for windows?
    I tried dev cpp but its debugging facility is very poor.

  • santosh

    #2
    Re: A good compiler

    Ajinkya wrote:
    Can anyone suggest me a good compiler for(c/cpp) for windows?
    I tried dev cpp but its debugging facility is very poor.
    Try MinGW, it comes with GDB. You may also try one of the "free" Visual C++
    Express Editions. There is also PellesC, DJGPP, and lcc-win32. DJGPP is not
    strictly for Windows however.

    Comment

    • Tim Prince

      #3
      Re: A good compiler

      Ajinkya wrote:
      Can anyone suggest me a good compiler for(c/cpp) for windows?
      I tried dev cpp but its debugging facility is very poor.
      >
      It depends very much on personal usage, so you should start by looking
      up past reviews (e.g. Google), and start with some which don't involve
      too much investment, at least in the trial stage. I use both ICL and
      cygwin gcc, recognizing those are clear minority choices. Both are
      available for free (30 day trial only for ICL). If you insist on full
      GUI, you don't have many choices, so just try them.

      Comment

      • Chris Hills

        #4
        Re: A good compiler

        In article <1185129227.686 670.168840@m37g 2000prh.googleg roups.com>,
        Ajinkya <kaleajinkya@gm ail.comwrites
        >Can anyone suggest me a good compiler for(c/cpp) for windows?
        >I tried dev cpp but its debugging facility is very poor.
        It depends what you want to do.

        The obvious choice is the free MS Visual C++ 2005 express which is on
        free download and is the easiest place to start with windows
        development.


        --
        \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
        \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
        /\/\/ chris@phaedsys. org www.phaedsys.org \/\/\
        \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



        Comment

        • Malcolm McLean

          #5
          Re: A good compiler


          "Chris Hills" <chris@phaedsys .orgwrote in message
          news:vvyhHpIx16 oGFAU8@phaedsys .demon.co.uk...
          In article <1185129227.686 670.168840@m37g 2000prh.googleg roups.com>,
          Ajinkya <kaleajinkya@gm ail.comwrites
          >>Can anyone suggest me a good compiler for(c/cpp) for windows?
          >>I tried dev cpp but its debugging facility is very poor.
          >
          It depends what you want to do.
          >
          The obvious choice is the free MS Visual C++ 2005 express which is on free
          download and is the easiest place to start with windows development.
          >
          Apart from some trivial command-line stuff, I have yet to achieve a single
          working real program with that thing.

          --
          Free games and programming goodies.


          Comment

          • Flash Gordon

            #6
            Re: A good compiler

            Malcolm McLean wrote, On 22/07/07 21:20:
            >
            "Chris Hills" <chris@phaedsys .orgwrote in message
            news:vvyhHpIx16 oGFAU8@phaedsys .demon.co.uk...
            >In article <1185129227.686 670.168840@m37g 2000prh.googleg roups.com>,
            >Ajinkya <kaleajinkya@gm ail.comwrites
            >>Can anyone suggest me a good compiler for(c/cpp) for windows?
            >>I tried dev cpp but its debugging facility is very poor.
            >>
            >It depends what you want to do.
            >>
            >The obvious choice is the free MS Visual C++ 2005 express which is on
            >free download and is the easiest place to start with windows development.
            >>
            Apart from some trivial command-line stuff, I have yet to achieve a
            single working real program with that thing.
            Go and ask on a MS group how to use it. Others manage. Some seem to
            manage with a lot of ease.
            --
            Flash Gordon

            Comment

            • Richard

              #7
              Re: A good compiler

              "Malcolm McLean" <regniztar@btin ternet.comwrite s:
              "Chris Hills" <chris@phaedsys .orgwrote in message
              news:vvyhHpIx16 oGFAU8@phaedsys .demon.co.uk...
              >In article <1185129227.686 670.168840@m37g 2000prh.googleg roups.com>,
              >Ajinkya <kaleajinkya@gm ail.comwrites
              >>>Can anyone suggest me a good compiler for(c/cpp) for windows?
              >>>I tried dev cpp but its debugging facility is very poor.
              >>
              >It depends what you want to do.
              >>
              >The obvious choice is the free MS Visual C++ 2005 express which is
              >on free download and is the easiest place to start with windows
              >development.
              >>
              Apart from some trivial command-line stuff, I have yet to achieve a
              single working real program with that thing.
              Why? Everyone else seems to manage it just fine. It's not too bad for
              free.

              Comment

              • Malcolm McLean

                #8
                Re: A good compiler


                "Richard" <rgrdev@gmail.c omwrote in message
                news:50hcnwi3j2 .fsf@gmail.com. ..
                "Malcolm McLean" <regniztar@btin ternet.comwrite s:
                >
                >"Chris Hills" <chris@phaedsys .orgwrote in message
                >news:vvyhHpIx1 6oGFAU8@phaedsy s.demon.co.uk.. .
                >>In article <1185129227.686 670.168840@m37g 2000prh.googleg roups.com>,
                >>Ajinkya <kaleajinkya@gm ail.comwrites
                >>>>Can anyone suggest me a good compiler for(c/cpp) for windows?
                >>>>I tried dev cpp but its debugging facility is very poor.
                >>>
                >>It depends what you want to do.
                >>>
                >>The obvious choice is the free MS Visual C++ 2005 express which is
                >>on free download and is the easiest place to start with windows
                >>development .
                >>>
                >Apart from some trivial command-line stuff, I have yet to achieve a
                >single working real program with that thing.
                >
                Why? Everyone else seems to manage it just fine. It's not too bad for
                free.
                >
                I seem to spend hours putting Chinese hats on identifers and taking them off
                again, just to get it to compile a simple window. Though I have had moments
                of glory, such as when I coaxed it into putting "Hello world" where I wanted
                in a window, it still insists on adding stdafx.h to my portable ANSC C
                files, complains about string functions, and things like that. Whilst I can
                do little things, and it is kind of fun to play with all the windows and
                form tools for your "solution", I don't see how you can work like that for
                real.

                --
                Free games and programming goodies.



                Comment

                • Joe Wright

                  #9
                  Re: A good compiler

                  santosh wrote:
                  Ajinkya wrote:
                  >
                  >Can anyone suggest me a good compiler for(c/cpp) for windows?
                  >I tried dev cpp but its debugging facility is very poor.
                  >
                  Try MinGW, it comes with GDB. You may also try one of the "free" Visual C++
                  Express Editions. There is also PellesC, DJGPP, and lcc-win32. DJGPP is not
                  strictly for Windows however.
                  >
                  But let's do give DJGPP its due. Way back when, Richard Stallman was
                  asked for a port of GNU C for PC's he opined that it couldn't be done. A
                  young guy, DJ DeLorie, said "The hell you say!" and went to work.

                  That all started in the early '1990's as I recall. I got into it at v2
                  in 1996. DJGPP didn't then and doesn't now know anything about Windows.
                  It is a DOS program which creates DOS programs. These DOS programs run
                  perfectly well under the ntvdm.



                  --
                  Joe Wright
                  "Everything should be made as simple as possible, but not simpler."
                  --- Albert Einstein ---

                  Comment

                  • Richard Heathfield

                    #10
                    Re: A good compiler

                    Malcolm McLean said:
                    >
                    "Richard" <rgrdev@gmail.c omwrote in message
                    news:50hcnwi3j2 .fsf@gmail.com. ..
                    <snip - Malcolm has been struggling with Visual C>
                    >Why? Everyone else seems to manage it just fine. It's not too bad for
                    >free.
                    >>
                    I seem to spend hours putting Chinese hats on identifers and taking
                    them off again, just to get it to compile a simple window.
                    Why? It's just C. Anyone can write a Win32 C program, yes?
                    Though I
                    have had moments of glory, such as when I coaxed it into putting
                    "Hello world" where I wanted in a window, it still insists on adding
                    stdafx.h to my portable ANSC C files,
                    Every single bloomin' time you create a project, your first job is to
                    switch off pre-compiled headers. Do that, and stdafx.h should stay out
                    of your hair.
                    complains about string
                    functions, and things like that. Whilst I can do little things, and it
                    is kind of fun to play with all the windows and form tools for your
                    "solution", I don't see how you can work like that for real.
                    People do, you know - and it isn't as hard as you're trying to make out.

                    --
                    Richard Heathfield <http://www.cpax.org.uk >
                    Email: -www. +rjh@
                    Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
                    "Usenet is a strange place" - dmr 29 July 1999

                    Comment

                    • Chris Hills

                      #11
                      Re: A good compiler

                      In article <OYKdna5MjpNxJj 7bnZ2dnUVZ8qCqn Z2d@bt.com>, Malcolm McLean
                      <regniztar@btin ternet.comwrite s
                      >
                      >"Chris Hills" <chris@phaedsys .orgwrote in message
                      >news:vvyhHpIx1 6oGFAU8@phaedsy s.demon.co.uk.. .
                      >In article <1185129227.686 670.168840@m37g 2000prh.googleg roups.com>,
                      >>Ajinkya <kaleajinkya@gm ail.comwrites
                      >>>Can anyone suggest me a good compiler for(c/cpp) for windows?
                      >>>I tried dev cpp but its debugging facility is very poor.
                      >>
                      >It depends what you want to do.
                      >>
                      >The obvious choice is the free MS Visual C++ 2005 express which is on
                      >>free download and is the easiest place to start with windows
                      >>development .
                      >>
                      >Apart from some trivial command-line stuff, I have yet to achieve a
                      >single working real program with that thing.

                      I have see some very complex graphics program compiled with it. (All
                      portable C too) I also know some very good compilers written using it.


                      --
                      \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
                      \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
                      /\/\/ chris@phaedsys. org www.phaedsys.org \/\/\
                      \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



                      Comment

                      • Chris Hills

                        #12
                        Re: A good compiler

                        In article <50hcnwi3j2.fsf @gmail.com>, Richard <rgrdev@gmail.c omwrites
                        >"Malcolm McLean" <regniztar@btin ternet.comwrite s:
                        >
                        >"Chris Hills" <chris@phaedsys .orgwrote in message
                        >news:vvyhHpIx1 6oGFAU8@phaedsy s.demon.co.uk.. .
                        >>In article <1185129227.686 670.168840@m37g 2000prh.googleg roups.com>,
                        >>Ajinkya <kaleajinkya@gm ail.comwrites
                        >>>>Can anyone suggest me a good compiler for(c/cpp) for windows?
                        >>>>I tried dev cpp but its debugging facility is very poor.
                        >>>
                        >>It depends what you want to do.
                        >>>
                        >>The obvious choice is the free MS Visual C++ 2005 express which is
                        >>on free download and is the easiest place to start with windows
                        >>development .
                        >>>
                        >Apart from some trivial command-line stuff, I have yet to achieve a
                        >single working real program with that thing.
                        >
                        >Why? Everyone else seems to manage it just fine. It's not too bad for
                        >free.
                        IT is free.... that was why I suggested it as a good option. If you
                        get on well with the free one you can expand out to the pay one later if
                        needed
                        --
                        \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
                        \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
                        /\/\/ chris@phaedsys. org www.phaedsys.org \/\/\
                        \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



                        Comment

                        • Mark McIntyre

                          #13
                          Re: A good compiler

                          On Sun, 22 Jul 2007 23:15:31 +0000, in comp.lang.c , Richard
                          Heathfield <rjh@see.sig.in validwrote:
                          >Malcolm McLean said:
                          >>
                          >I seem to spend hours putting Chinese hats on identifers and taking
                          >them off again, just to get it to compile a simple window.
                          >
                          >Why?
                          Thats a question you'd have to ask Microsoft. I played with the
                          "Express" versions a while back (I think I still have the CDs) and
                          fairly quickly decided it would be more fruitful to build a linux box
                          and install gcc (or for that matter, more fruitful to wallop myself
                          over the head with a rubber truncheon ...)
                          >Every single bloomin' time you create a project, your first job is to
                          >switch off pre-compiled headers. Do that, and stdafx.h should stay out
                          >of your hair.
                          if only....
                          >>I don't see how you can work like that for real.
                          >
                          >People do, you know - and it isn't as hard as you're trying to make out.
                          I doubt they use the Express version for real. Given, frinstance that
                          its forbidden by the licensing conditions... :-)

                          --
                          Mark McIntyre

                          "Debugging is twice as hard as writing the code in the first place.
                          Therefore, if you write the code as cleverly as possible, you are,
                          by definition, not smart enough to debug it."
                          --Brian Kernighan

                          Comment

                          • Carramba

                            #14
                            Re: A good compiler

                            Chris Hills skrev:
                            In article <1185129227.686 670.168840@m37g 2000prh.googleg roups.com>,
                            Ajinkya <kaleajinkya@gm ail.comwrites
                            >Can anyone suggest me a good compiler for(c/cpp) for windows?
                            >I tried dev cpp but its debugging facility is very poor.
                            >
                            It depends what you want to do.
                            >
                            The obvious choice is the free MS Visual C++ 2005 express which is on
                            free download and is the easiest place to start with windows development.
                            This is so long from obvious as it can get... why not try really free
                            development tool like eclipse and with CDT you have c/c++ for windows
                            there is simple installer at http://cdt-windows.sourceforge.net/
                            >

                            Comment

                            • Rui Maciel

                              #15
                              Re: A good compiler

                              Malcolm McLean wrote:
                              I seem to spend hours putting Chinese hats on identifers and taking them
                              off again, just to get it to compile a simple window. Though I have had
                              moments of glory, such as when I coaxed it into putting "Hello world"
                              where I wanted in a window, it still insists on adding stdafx.h to my
                              portable ANSC C files, complains about string functions, and things like
                              that.
                              Not to mention that, along the proprietary "extensions " to the language, it
                              doesn't even come close to support C99. I don't even understand why so many
                              people even bother installing that thing.


                              Rui Maciel

                              Comment

                              Working...