ANSI C idea: structure literals

Michael Zehr tada at athena.mit.edu
Wed Mar 2 10:18:50 AEST 1988


In article <1988Feb28.130526.4147 at jarvis.csri.toronto.edu> flaps at dgp.toronto.edu (Alan J Rosenthal) writes:
>This is good.  It is an analogue of what happens with strings.  It would be
>good to extend this to arrays and other things.  For example, why not be able
>to write "&3" to get a pointer to int which points to a 3?

Actually, VAX C 2.2 allows this, although it's completely non-portable,
of course.


-------
michael j zehr
"My opinions are my own ... as is my spelling."



More information about the Comp.lang.c mailing list