a common class within class objects

03 Aug 2012

hi every body ... i have a question regarding creation of timers in classes ... i tried to make a class, which contains a timer as one of its private members, but my question is, if i create 2 objects of this class, will each object have its independant timer?? (i mean if i create 20 objects for instance, will this mean that i will have 20 independent timers, which i find not logic) or will they use the same timer as if it is a static member??

03 Aug 2012

Hi,

They'll each have their own independant timer; hope that is what you were after!

Simon