yay, using private/protected/public in class-definition makes sense now^^.
Compiler uses accesspecifier now(and their restrictions).
so:
class CFoo()
private:
int FFoo;
public
int ForAll;
};
truly influences compiler now. FFoo can only be accessed when inside a method of this class. Public is accessible to all. Proteced is accessible to the same class and classes derived from it.
If you try to acces a member without the correct permission(i.e. accessing private, while only allowed accesing public) you get an error.
Greets
Rackscha