Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualEddieV223

Posted 18 December 2012 - 01:07 PM

[source lang="cpp"]class MyStaticClass{public:static int myInt;static void MyFunc();};[/source]

There are no static constructors though.  So you have to take care of that some where.

Because there are no static ctor, you maybe just use a singleton.

#1EddieV223

Posted 18 December 2012 - 01:06 PM

[source lang="cpp"]class MyStaticClass{public:static int myInt;static void MyFunc();};[/source]

There are no static constructors though.  So you have to take care of that some where.

PARTNERS