Path: utzoo!utgpu!attcan!uunet!mcvax!ukc!dcl-cs!nott-cs!psxgas
From: psxgas@cs.nott.ac.uk (Alan Shepherd)
Newsgroups: comp.lang.c++
Subject: OOPS library by K. Gorlen for C++
Message-ID: <2941@robin.cs.nott.ac.uk>
Date: 5 Aug 88 14:02:40 GMT
Reply-To: psxgas@cs.nott.ac.uk (Alan Shepherd)
Organization: Computer Science, Nottingham Univ., UK.
Lines: 13

I have a file 'main.c' which declares a global Dictionary viz:

	Dictionary* rulesetParts = new Dictionary

which is filled in main() and seems to respond correctly.  I also have
a ruleset object which accesses this dictionary, but when a ruleset is created
the dcitionary is found to be corrupted, even at the very beginning of the
constructor.  The ruleset constructor then manages to corrupt it even more
without ever actually writing to it.  Anybody else had this problem, or
am I being hopelessly ignorant ?

N.B.  The dictionary was originally a data member of the ruleset object
and it was still getting corrupted.