From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Stupid Question. Date: Sat, 21 Jun 1997 10:32:11 -0400 Organization: Cornell University http://www.cornell.edu Lines: 23 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33ABE5EB.711@cornell.edu> References: <19970621142001 DOT KAA28980 AT ladder01 DOT news DOT aol DOT com> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0063.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Quackerz wrote: > > what is the correct way to do this: > int variable[] = {1,2,3,4,5}; > because i've done that and it won't compile because of a Parse error. your error must be somewhere else. please do not post (stupid or not) basic questions regarding c/c++ syntax here the groups comp.lang.c, comp.lang.c++, comp.lang.c.moderated, comp.lang.c++.moderated and the C and C++ FAQs exist for that purpose. read them, they are good. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************