This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warning: return type of main is not int
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: warning: return type of main is not int
- From: Byeong-ryeol Kim <jinbo21 at soback dot kornet dot nm dot kr>
- Date: Sat, 17 Jan 1998 10:44:43 +0900 (KST)
- cc: egcs at cygnus dot com
- Reply-To: Byeong-ryeol Kim <jinbo21 at soback dot kornet dot nm dot kr>
On Fri, 16 Jan 1998, Joe Buck wrote:
...
> The C++ language standard says that main returns int. The compiler
> is warning you that what you are typing is not legal C++.
>
> > void main(int argc, char *argv[])
...
I'm actually a beginner.
If so, how can I fix it?
"Where there is a will, there is a way." jinbo21@soback.kornet.nm.kr
kbeyl@kids.kotel.co.kr
For the future of you and me! hitel: jinbo21