a bit of a noob problem. Inside a class called 'cell', I have an enum 'Example' say
typedef enum Example
{
E1=0,
E2,
E3,
E4
};
Example inputValueE;
Also I have a function inside class as follows
void evolveE(Example type_);
Outside the class, I attempt to define the function for several types as follows
void cell::evolveE(Example type_ = E1){****some stuff****;};
void cell::evolveE(Example type_ = E2){****some diff stuff****;}; ***etc***
I've played around with these a bit but with no luck. The problem is i'm not allowed to redefine the same function. I was going to use the switch-case type command which is always backup although i'm pretty sure there is a more elegant way to do this
Any help is much appreciated.