Static function: a storage class may not be specified here
In the definition in the .cpp file, remove the keyword static: // No static here (it is not allowed) std::string neighborAtt::intToStr(int number) { … } As long as you have the static keyword in the header file, the compiler knows it’s a static class method, so you should not and cannot specify it in the … Read more