[comp.sys.mac.programmer] Think C 4.0 question

rcb@ccpv1.ncsu.edu (Randy Buckland) (10/10/89)

One question about think c 4.0. Does it allow normal ANSI C function
definitions? For example:

	main (int argc, char *argv[]) { stuff }

instead of:

	main (argc, argv)
	int argc;
	char *argv[];
	{ stuff }

I know 3.0 allows the top form for prototypes, but it will not allow it for the
actual definition of the function. 

Randy Buckland
rcb@ncsuvx.ncsu.edu

siegel@endor.harvard.edu (Rich Siegel) (10/11/89)

In article <4154@ncsuvx.ncsu.edu> rcb@ccpv1.ncsu.edu (Randy Buckland) writes:
>One question about think c 4.0. Does it allow normal ANSI C function
>definitions? For example:
>
>	main (int argc, char *argv[]) { stuff }

Yes.


~~~~~~~~~~~~~~~
 Rich Siegel
 Staff Software Developer
 Symantec Corporation, Language Products Group
 Internet: siegel@endor.harvard.edu
 UUCP: ..harvard!endor!siegel

"There is no personal problem which cannot be solved by sufficient
application of high explosives."

~~~~~~~~~~~~~~~