www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/29/18:15:11

From: "Rafal Maj (Raf256)" <raf256 AT go2 DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Odp: char* []={"a",}
Date: Sun, 29 Jul 2001 23:36:05 +0200
Organization: Academic Computer Center CYFRONET AGH
Lines: 17
Message-ID: <9k21om$flc$6@info.cyf-kr.edu.pl>
References: <5BF60CD649EDD411A04600B0D049F53AFFA958 AT hydmail02 DOT hyd DOT wilco-int DOT com> <002201c1184a$593dbf70$6600a8c0 AT mars>
NNTP-Posting-Host: d-94-53-22.cyfronet.krakow.pl
X-Trace: info.cyf-kr.edu.pl 996444758 16044 149.156.1.182 (29 Jul 2001 22:12:38 GMT)
X-Complaints-To: news AT cyf-kr DOT edu DOT pl
NNTP-Posting-Date: Sun, 29 Jul 2001 22:12:38 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > > DJGPP allows statment like
> > > const char* arr[]{"aaa","bbb",};
> > > with extra "," at end is't this a bug ?
> > No.
> hm. Didn't know about this. What will the extra comma do?

AFAIR it's doing nothing, and using more comas {"aaa","bbb",,} makes error -
so I think that maybe one comma is a bug.


--
Raf256   C++ TP JAVA 3DMax POV HTML  <== Email me if U need developer
,--, _  ,-   _  _  _  ,---------------------------------------------,
|,-'`_|_|_  `_||_'|_' | raf256 AT go2 DOT pl http://strony.wp.pl/wp/raf256 |
| `\(_) |   |_,,_||_| | upt256 AT wp DOT pl SMS 504-727-464                |


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019