record.cc
来自「C++ class and storage」· CC 代码 · 共 25 行
CC
25 行
//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 + =
减小字号Ctrl + -
显示快捷键?