A
Anon Email
Hi everyone,
I've written some code that contains a class, and I want to track the
number of instances of this class that have been created, eg.: "This
is number xx object created." What is the most commonly accepted
method to do this? By defining a separate "counter" class? Do I need
to use a reference/ references?
Cheers,
Deets
I've written some code that contains a class, and I want to track the
number of instances of this class that have been created, eg.: "This
is number xx object created." What is the most commonly accepted
method to do this? By defining a separate "counter" class? Do I need
to use a reference/ references?
Cheers,
Deets