• 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;...
  • Volatile struct members
    Hi, I would like to prevent structure members optimization. I used volatile keyword: typedef volatile struct { volatile ... volatile uint32_t discard; volatile ... } regs_t; I declared...
  • Accessing structure pointer members
    Hi all, For some reason, I cannot access the structure members if I use struct pointers. eg: typedef struct { int member1; }structure_t; structure_t structure, *structure_ptr; int...
  • Problem with more member in a structure
    Hi there, I'm using STM32F103 with Keil ver 4.72 I defined a structure like this: typedef struct { uint16_t X; uint16_t Y; uint16_t Width; uint16_t Height; uint16_t BackColor; uint16_t TextColor;...
  • union members seem to be volatile.
    Union members seem to be volatile automatically. Is it right ?