Might be a dumb question. My apologies, but I would like to do the below,
connectionState currentState;
class connectionState {
public:
.......
.......
};
rather
class connectionState {
public:
.......
.......
};
connectionState currentState;
The former doesn't compiles at all while the latter does. So, no way to do this?