I'm trying to use classes. And as i go also all the global variables and such. That works out. But how do I implement stuff like #define value 100;
in the header?
#ifndef COUNT_H_
#define COUNT_H_
// Definitions
#define first 100;
#define second 200;
// Class definition
class Account {
private:
int difficult(int);
public:
int easy (int);
} ;
#endif /* COUNT_H_ */
Is this a proper way of doing things? It works, but is it also common?