I'm doing tutorials on C++ and got to "Variables in Classes"..
I keep getting the error "1.cpp |25| error: no match for 'operator<<' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and '<unresolved overloaded function type>')|
It makes no sence to me, because from what i can see its the exact same as the tutorial but with slight changes on where i put { so it looks more "clean" (in my head at least) so this is my code: