Author: Rob Malpass Date: To: Hampshire LUG Discussion List Subject: [Hampshire] C dialects
Hi all
I'm learning C and having a few problems. I have a nice CBT course which is teaching Bloodshed Dev C++ - but trying a basic helloworld.c works fine on Dev but not on gcc.
I guess I'll be doing any serious programming on gcc as opposed to Dev (never heard of Dev before this CBT) - but can anyone recommend some tips / tricks for moving between gcc code and other C code?
For instance Dev is happy with
main()
{
code
}
but gcc won't have that, it insists on
main (void)
{
code
}
A small difference - but most irritating if you're very new to C as I am.