initialization of arrays
kalin wilson
wilson at ac10.cs.nps.navy.mil
Fri Apr 19 02:26:47 AEST 1991
I've had the same problem on our Solbourne and Iris workstations. The compilers
appear to be 'almost' ANSI. What I have to do is make the arrays static. I get
an error to the effect of "no automatic initialization for aggregate type"
You might try the static thing, although you often don't want an object to hang around.
--------------------------------------------------------------------
Kalin Wilson | wilson at taurus.cs.nps.navy.mil
Naval Postgraduate School |
Monterey, Ca | "Opinions? What opinions?"
-------------------------------------------------------------------
More information about the Comp.lang.c
mailing list