Search:

Type: Posts; User: anon

Search: Search took 0.05 seconds.

  1. You have to define it in the implementation file,...

    You have to define it in the implementation file, not in the header.
  2. I believe you need to do it like that: ...

    I believe you need to do it like that:



    struct X
    {
    static const double BOUNCE_COEFFICIENT;
    };

    const double X::BOUNCE_COEFFICIENT = 1.5;
Results 1 to 2 of 2