• Can a member variable be declared const in a class without initialization?
    Note: This was originally posted on 5th January 2010 at http://forums.arm.com I am trying to define a class providing an interface to hardware registers. Some of the registers are read-only. I would like...
  • Can a member variable be declared const in a class without initialization?
    Note: This was originally posted on 5th January 2010 at http://forums.arm.com I am trying to define a class providing an interface to hardware registers. Some of the registers are read-only. I would like...
  • What does it mean when member varialbe of class is static?
    Please consider following class: class SomeTask { public: SomeTask(); ~SomeTask(); void initialize(); static unsigned int _tsk; private: InterfaceTask *_serviceInterface; Protocol * _Protocol;...
  • What does it mean when member varialbe of class is static?
    Please consider following class: class SomeTask { public: SomeTask(); ~SomeTask(); void initialize(); static unsigned int _tsk; private: InterfaceTask *_serviceInterface; Protocol * _Protocol;...
  • declare a variable with flexible array members (c99)
    Hello everyone, in c99 I can make a struct with a flexible array member at the end. Is it possible to create such a variable at compile time? e.g: struct monitoredArray { unsigned int const...