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.
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.
"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.
>>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
>>>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.
>"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.
>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.
>
"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
>>>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. orgwww.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>"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. orgwww.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
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
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/
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.
Comment