如果在一个类中定义了静态数据成员,却没有在使用之前给它赋值,则会出现下面的错误: error LNK2001: 无法解析的外部符号 "private: static float Student::sum" (?sum@Student@@0MA)