Initializing static const member of a class

Discussion in 'C++' started by Luca Cerone, Mar 2, 2012.

  1. Luca Cerone

    Luca Cerone Guest

    Dear all,

    I'm having trouble in creating a class with a static const member.

    I'm defining my class like:

    class myClass
    {
    public:


    }
     
    Luca Cerone, Mar 2, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Avi Uziel
    Replies:
    14
    Views:
    965
  2. Steven T. Hatton
    Replies:
    1
    Views:
    6,993
    Siemel Naran
    Apr 19, 2004
  3. Siemel Naran
    Replies:
    4
    Views:
    1,033
    Micah Cowan
    Jan 12, 2005
  4. Rakesh Sinha
    Replies:
    4
    Views:
    2,134
    Rakesh Sinha
    Jan 13, 2005
  5. Dave
    Replies:
    10
    Views:
    35,806
    Ron Natalie
    May 22, 2005
  6. Javier
    Replies:
    2
    Views:
    877
    James Kanze
    Sep 4, 2007
  7. Christopher
    Replies:
    12
    Views:
    1,004
    James Kanze
    Dec 18, 2007
  8. fungus
    Replies:
    13
    Views:
    1,207
    fungus
    Oct 31, 2008
Loading...