[comp.lang.c++] OOPS library by K. Gorlen for C++

psxgas@cs.nott.ac.uk (Alan Shepherd) (08/05/88)

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.