classexample.h

来自「data+structures+using+c的源码」· C头文件 代码 · 共 13 行

H
13
字号
class classExample
{
public:
    void setX(int a);
		//Function to set the value of the data member x
		//Postcondition: x = a;
    void print() const;
		//Function to output the value of x

private:
    int x;
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?