C problems

Yuklung_Morris_Ng at cup.portal.com Yuklung_Morris_Ng at cup.portal.com
Wed May 31 04:02:08 AEST 1989


You haven't define the type of argc and argv on main().  Remember, main() is a
a function, not a particular program like Pascal.
 
Try this:
 
main(argc,argv)
int argc;
char *argv[];
{
	......;
}
 
				- Morris



More information about the Comp.lang.c mailing list