User profile: doug4

User info
User name:doug4
Number of posts:1522
Latest posts:

Mutex Test and Set
This doesn't seem to be valid C++. I don't believe the keyword 'new' can be used as a variable name...

Link time error - undefined reference
Some things to be aware of: In you last code snippet, you declare template function OneWireSensro::...

Smart pointer confusion (std::unique_ptr in function argument)
I believe @seeplus was implying that you were calling make_unique<int> with an argument of type int*...

Further pure virtual calling issues
The line that @JLBorges mentioned is in PLAYERS, not PLAYER. So, PLAYER would not be aware of the d...

Why Have Functions() in classes?
[quote]When I read about C++ I see words like inheritance and polymorphism and immediately go to sle...