1
0
Fork 0
This repository has been archived on 2021-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
uni-m.cds-adv-prog/ex3.4/Counter.hh
2019-12-12 17:22:55 +01:00

18 lines
198 B
C++

// Counter.hh
#ifndef COUNTERHH
#define COUNTERHH
class Counter
{
public:
Counter(){ counter++ ; }
~Counter(){ counter-- ; }
static int getCounter();
static int counter ;
};
#endif