Pre C++17
In traditional C++, if you have a class that has a static array as data member, you have to initialise that array outside of the class.
class myclass {
protected:
static uint myarray[4];
};
uint myclass::myarray[4];
You will typi...
As embedded electronics continues to transform our lives, engineers around the globe are looking for ways to increase their coding chops. To help engineers meet this need, element14 has unveiled Code Exchange-- a place where engineers can help each other.