Closed Charlielcy closed 11 years ago
TA师兄好~
(1)在子类FileInterfaceImpl的实现中写了这个构造函数:
FileInterfaceImpl::FileInterfaceImpl(const string& filename) {...}
但VS会报错:error C2259: “FileInterfaceImpl”: 不能实例化抽象类。 可是这个是子类啊...为什么不能实例化?
(2)请问SaveTo这个函数返回bool值的作用是什么?
(3)请问每次作业的“风格”一栏的评判标准有哪些?要注意哪些问题?
谢谢!
cpplint.py
TA师兄好~
(1)在子类FileInterfaceImpl的实现中写了这个构造函数:
FileInterfaceImpl::FileInterfaceImpl(const string& filename) {...}
但VS会报错:error C2259: “FileInterfaceImpl”: 不能实例化抽象类。 可是这个是子类啊...为什么不能实例化?
(2)请问SaveTo这个函数返回bool值的作用是什么?
(3)请问每次作业的“风格”一栏的评判标准有哪些?要注意哪些问题?
谢谢!