www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/06/19:20:56

Message-ID: <366B3A58.3376@sparc.isl.net>
Date: Sun, 06 Dec 1998 18:15:52 -0800
From: DE Stewart <interced AT sparc DOT isl DOT net>
X-Mailer: Mozilla 3.04Gold (Win16; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ? strange problem
References: <36663692 DOT 410E88AA AT cs DOT ccu DOT edu DOT tw>
NNTP-Posting-Host: 199.3.25.30
X-Trace: 6 Dec 1998 18:16:45 -0600, 199.3.25.30
Lines: 14
Organization: Newsfeeds.com http://www.newsfeeds.com 60,000+ UNCENSORED Newsgroups.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm having a very similar problem.  It is getting very annoying
because it has happened at least twice in two different programs.
The variable just will not retain its value.  In my programs, this
usually involves having an object be created (originally a pointer), and 
then passing it to a function immediately after and most of the time
the variable doesn't equal the value.

I compiled some test code in Turbo C++ and that seemed to print out
my correct answer, but DJGPP would print out stuff way off like it was
never initialized.   Does anybody have any ideas on mine and this other
fellows problems?


---== http://www.newsfeeds.com - Largest Usenet Server In The World! ==---


---== http://www.newsfeeds.com - Largest Usenet Server In The World! ==---

- Raw text -


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