📄 record.cc
字号:
//Record.cc#include <iostream>#include <string>using namespace std; Record::Record() {Number=0;} // the destructor //virtual ~Record(); // sets the number in the record to Num. void Record::setNumber(unsigned int Num) {Number=Num;} // returns the number. unsigned int Record::getNumber() {return Number;} // prints the record to the standard output in the format // specified in the assignment specifications. //virtual void print()=0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -