arrays...

Rich Salz rsalz at bbn.com
Wed May 4 03:01:40 AEST 1988


>Why can't I do this:
>void foo(const int *bar);
>main()
>{
>   foo({1,2,3,4});
>}

Others will point out the reason.  If you want it really badly,
tho, check out the GNU compiler.  For information about GNU, send
to
	info-gnu-request at prep.ai.mit.edu
	mit-eddie!mit-prep!info-gnu-request

The GNU compiler supports K&R, varying levels of ANSI compatibility,
and stuff like anonymous aggregate constructors.  It's not trivial to
use or port, but it does run on lots of machines, and ease-of-use is
just a matter of time.

Careful readers will note I don't call it the GNU _C_ compiler,
because of gunk like the above. :-)
	/r$
-- 
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.



More information about the Comp.lang.c mailing list