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

19 lines
198 B
C++

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