Hallo,
I have a few question
1. Why return a reference?
2. What is the benefits of inline? From reading only I have gathered that it makes the program smaller and bigger. Faster and slower and so on.
3. When to use the keyword extern?
4. How do I assign something to a const class member variable?
Thanks :)Code:class Player{
public:
Player(std::string n);
...
private:
const std::string name;
};