Accessor declared inside the class, and defined outside the class doesn't work

后端 未结 0 907
不思量自难忘°
不思量自难忘° 2020-12-10 17:03
//inside the class NutritionData, declaration
double getCaloriesPerServing() const;

//Outside the class Nutrition Data, definition
double NutritionData::getCalories         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题