Path: utzoo!attcan!uunet!know!samsung!munnari.oz.au!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.lang.c Subject: Re: Initializing arrays of char Message-ID: <3914@goanna.cs.rmit.oz.au> Date: 7 Oct 90 04:36:12 GMT References: <1990Oct4.152756.6850@micrognosis.co.uk> <15674@csli.Stanford.EDU> <26860@mimsy.umd.edu> Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 15 In article <26860@mimsy.umd.edu>, chris@mimsy.umd.edu (Chris Torek) writes: [char x[5] = "12345";] > is a change in New (ANSI) C. and provides a lucid explanation. He further says > Since I use old compilers, I have not made up my mind on this. I > am leaning towards the `not a bad idea after all' faction. Data point: the annotated C++ reference manual explicitly says that this feature has _not_ been accepted for C++. I don't know what the C++ standard will say; I'm sure there will be big fights over whether it is better to be close to the C++ base document or the C standard. At any rate, for now, C code using this feature will not port to C++. -- Fear most of all to be in error. -- Kierkegaard, quoting Socrates.