employ.h
来自「经典vc教程的例子程序」· C头文件 代码 · 共 18 行
H
18 行
// Fig. 9.5: employ.h
// Definition of class Employee
#ifndef EMPLOY_H
#define EMPLOY_H
class Employee {
public:
Employee( const char *, const char * ); // constructor
void print() const; // output first and last name
~Employee(); // destructor
private:
char *firstName; // dynamically allocated string
char *lastName; // dynamically allocated string
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?