Kagamin пишет:
Weed Wrote:
I agree.
In my case I chose to structure rather than a class because it can be
initialized at compile time.
But now I thing must be allowed to deploy class in the default data
segment. And add the possibility of creating a object of class at
compile time.
If you want to use full blown OOP, class is your choise. There are static
constructors for static initialization.
There does not need a static initialization of static members of the
class. There must be able to create objects of classes at compile time.