From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: integer assignment error Date: Fri, 13 Apr 2001 12:42:51 -0400 Organization: Global Crossing Telecommunications Lines: 27 Sender: UNKNOWN AT 64-212-195-43 DOT nas8 DOT roc DOT gblx DOT net Message-ID: <9b7a7o$10f0$1@node17.cwnet.frontiernet.net> References: <20010413154455 DOT 46911 DOT qmail AT web13302 DOT mail DOT yahoo DOT com> NNTP-Posting-Host: 64-212-195-43.nas8.roc.gblx.net X-Trace: node17.cwnet.frontiernet.net 987180088 33248 64.212.195.43 (13 Apr 2001 16:41:28 GMT) X-Complaints-To: abuse AT frontiernet DOT net NNTP-Posting-Date: 13 Apr 2001 16:41:28 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Rafael Frongillo" wrote in message news:20010413154455 DOT 46911 DOT qmail AT web13302 DOT mail DOT yahoo DOT com... > Hi > > I have this integer that is assigned 0 when declared, > and I am ABSOLUTELY POSITIVELY certain that I am not > assigning it a value over 5 or less than -1. However, > when running the program, somehow the value reaches > 734532 or something like that. I also noticed many > other variables doing the same thing, and frankly, > it's kind of freaking me out... Please tell me what > could be happening! if you are using some pointers there, it may be the problem. btw, why don't you try to debug your program? this would show you the exact problem. go thru it step by step. Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/