hi all
is it possible to don't declare an object for a class and use the function of this class ? i saw a code use this but i cannot find it again .. can someone tell me what is this style name?
No they dont have an object. they are called via the struct/class itself.
1 2 3 4 5
// static data members and functions belong to the class and
// can be accessed without using an object of class X
X::print_si();
X::set_si(22);
X::print_si();