Re: Which compiler for a learner of C?
- From: "Cong Wang" <xiyou.wangcong@xxxxxxxxx>
- Date: 27 Sep 2006 21:45:49 -0700
pkirk25 wrote:
I own a legit copy of Visual C++ 6.0
Its nice but it is 10 years old and aimed at C++.
Downloaded Bloodshed Dev-C++
Very nice but the default auto-indent woupd break my heart as I depend
on indentation. This is how a loop is formatted by default.
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
int a = 0, b = 7;
for (a = 0; a <= b; ++a)
{
printf("Hello again\n");
}
system("PAUSE");
return 0;
}
That } that fails to align as it closes the "for" loop really puts me
off. If anyone knows how to fix this, this looks a fine compiler. Is
it good in the opinion of more experienced C programmers?
Is Visual C++ Express a good compiler?
Is there another for the Win32 platform that is recommended?
VC++ is *NOT* recommended. Because it even does't know the common
sense! When I had to use it in a lab of my university, it even
highlighted the word 'new' and 'this' in my **C** code. And moreover,
it always gives fewer warnings, most of which are proved to be very
important, than gcc.
Dev-C++ is smaller, and I think, it is better than VC++. ;-p
.
- Follow-Ups:
- Re: Which compiler for a learner of C?
- From: Richard Heathfield
- Re: Which compiler for a learner of C?
- References:
- Which compiler for a learner of C?
- From: pkirk25
- Which compiler for a learner of C?
- Prev by Date: Re: How function works internally
- Next by Date: Re: C99 Versus ANSI.
- Previous by thread: Re: Which compiler for a learner of C?
- Next by thread: Re: Which compiler for a learner of C?
- Index(es):
Relevant Pages
|