Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!microsoft!petergo From: petergo@microsoft.UUCP (Peter GOLDE) Newsgroups: comp.std.c++ Subject: character array initialization Message-ID: <58962@microsoft.UUCP> Date: 10 Nov 90 00:32:31 GMT Reply-To: petergo@microsoft.UUCP (Peter GOLDE) Organization: Microsoft Corp., Redmond WA Lines: 15 In section 8.4.2, the C++ standard disallows the legal ANSI C initialization: char cv[4] = "asdf"; Since C++ is supposed to be as close as possible to ANSI C without compromising its features, I don't see what purpose this restriction serves. This is a useful feature which ANSI C very deliberately put into the standard; having C++ not allow it is a plain nuisance. Now I have to recode my strings using brace notation: what a pain! Peter Golde petergo%microsoft@uunet.uu.net