Re: Programming question: missing braces around initializer
On Tue, Oct 05, 1999 at 14:23:38 +0200, Joop Stakenborg wrote:
> Morse MorseTable[]=
> {
> ' ',NIL,NIL,NIL,NIL,NIL,NIL,NIL,
Change to
{' ', {NIL,NIL,NIL,NIL,NIL,NIL,NIL}},
etc. The outer pair of curly braces is because the elements of the array are
structs, which aren't atomic; the inner pair is because the second member of
the struct is an array which isn't atomic.
HTH,
Ray
--
LEADERSHIP A form of self-preservation exhibited by people with auto-
destructive imaginations in order to ensure that when it comes to the crunch
it'll be someone else's bones which go crack and not their own.
- The Hipcrime Vocab by Chad C. Mulligan
Reply to: