From: "Vadim Pokotilov" Newsgroups: comp.os.msdos.djgpp Subject: Re: (Sniff), help! Date: Wed, 25 Nov 1998 01:27:20 -0500 X-ELN-Insert-Date: Tue Nov 24 22:35:18 1998 References: <3 DOT 0 DOT 6 DOT 32 DOT 19981124194909 DOT 007a21d0 AT tenforward DOT com> X-Newsreader: Microsoft Outlook Express 4.71.1712.3 Organization: EarthLink Network, Inc. X-Posted-Path-Was: not-for-mail Lines: 35 NNTP-Posting-Host: 1cust42.tnt7.bos2.da.uu.net X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 X-ELN-Date: 25 Nov 1998 06:27:40 GMT Message-ID: <73g80s$12k$1@oak.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 You need to give moo a value, otherwise you're adding something to a ariable which doesn't have a value, and hence you're getting an error becuase you're variable is declared but not defined. Jeff Johnson wrote in message <3 DOT 0 DOT 6 DOT 32 DOT 19981124194909 DOT 007a21d0 AT tenforward DOT com>... >(sniff)..i cant stand it!...this is driving me crazy!.. > >i made a prog. when i compiled it it said i was "redefining" every variable >whenever i used it, ex: > >#include >#include >int main() >{ >blah blah blah >int moo; >int cow = 6; >moo = (moo + cow) //Redefinition Error Here >} >Now, This isn't the exact program.. the real thing is 700+ lines, so >someone help me out B4 I go crazy, crazy? I was Crazy Once, They locked me >in a room with rats, rats? rats drive me crazy, crazy? i was crazy once, >they locked me in a room with rats, rats? rats drive me crazy, crazy? i was >crazy once, they locked me in a room with rats, rats? rats drive me crazy, >crazy? i was crazy once............... > > > > > > >