Message-ID: <3B0AA66C.84D877DA@earthlink.net> From: Martin Ambuhl X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en,zh-CN,fr,de-CH,ru MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Initializing arrays problem References: <20010522124331 DOT 00567 DOT 00000895 AT ng-mi1 DOT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 13 Date: Tue, 22 May 2001 17:46:03 GMT NNTP-Posting-Host: 209.244.178.34 X-Complaints-To: abuse AT earthlink DOT net X-Trace: newsread2.prod.itd.earthlink.net 990553563 209.244.178.34 (Tue, 22 May 2001 10:46:03 PDT) NNTP-Posting-Date: Tue, 22 May 2001 10:46:03 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Tue, 22 May 2001 10:44:14 PDT (newsmaster1.prod.itd.earthlink.net) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com WCount12 wrote: > > I am getting an error message "numeric constant contains digits beyond the > radix" when initializing the below. > > int days_array = { 0101,0102,0103,0104 .........}; > > (mmdd format for the whole year) > > Any help appreciated. Numbers beginning with '0' are in octal; the digits in octal are 0,1,2,3,4,5,6,7. I'm sure you can figure it out.