ANSI C idea: structure literals (and short constants)
Frank Adams
franka at mmintl.UUCP
Wed Mar 2 03:59:48 AEST 1988
In article <1988Feb28.130526.4147 at jarvis.csri.toronto.edu> flaps at dgp.toronto.edu (Alan J Rosenthal) writes:
>Unfortunately, this doesn't seem to allow creating, say, a short in
>this manner, because you can't specify shorts in expressions. Any
>attempt to fix this would probably be a very bad addition.
There is an obviously correct way to permit specification of short
constants: append an s. Exactly analogous to appending an l for long
constants.
--
Frank Adams ihnp4!philabs!pwa-b!mmintl!franka
Ashton-Tate 52 Oakland Ave North E. Hartford, CT 06108
More information about the Comp.lang.c
mailing list