record.h
来自「C++ class and storage」· C头文件 代码 · 共 27 行
H
27 行
#ifndef _RECORD_H#define _RECORD_Hclass Record {private: unsigned int Number;public: // the default constructor Record(); // the destructor virtual ~Record(); // sets the number in the record to Num. void setNumber(unsigned int Num); // returns the number. unsigned int getNumber(); // prints the record to the standard output in the format // specified in the assignment specifications. virtual void print()=0;}; //Record#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?