Mail Archives: djgpp/1998/08/27/06:48:15
> > void main()
> > {
> > int a;
> > }
> >
...
> Considering that what you were trying to do is a fundamental part of the
> language that everyone uses, there is something else wrong with your
> declarations. Since you didn't give an actual example of something
> which didn't work and what the errors were, it's hard to help you more
> than that.
>
> main should always be declared to return int, by the way.
And according to ANSI, should be terminated by something similar to a "return 0;"
James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819
- Raw text -