User profile: Flurite

User info
User name:Flurite
History
Joined:
Number of posts:138
Latest posts:

Vertical bar in arguments
In many OpenGL functions, it allows you to specify multiple options for a single parameter. How woul...

Defining a static member variable
Oh, I thought it involved using extern or something like that.

Defining a static member variable
Whoops, ignore that part.. [code] class X { public: static int myStaticVar; }; int X::myStatic...

Defining a static member variable
Lets say I have a class in a header file as such: [code] class X { public: static int myS...

Why static member variables must be explicitly initialized
Hmm.. well according to ideone, both var and othervar are getting values of 0. Also, var is static, ...