interface.h
来自「经典vc教程的例子程序」· C头文件 代码 · 共 14 行
H
14 行
// Fig. 7.10: interface.h
// Header file for interface.cpp
class Implementation; // forward class declaration
class Interface {
public:
Interface( int );
void setValue( int ); // same public interface as
int getValue() const; // class Implementation
private:
Implementation *ptr; // requires previous
// forward declaration
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?