⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 illustrate.h

📁 C++编成数据结构与程序设计方法 D.S.Malk编著
💻 H
字号:

class illustrate
{
public: 
    static int count;	//public static variable

    void print() const;
      //Function to output x, y, and count.

    void setX(int a);
      //Function to set x.
      //Postcondition: x = a;

    static void incrementY();
      //static function
      //Function to increment y by 1.
      //Postcondition: y = y + 1

    illustrate(int a = 0);
      //constructor 
      //Postcondition: x = a;
      //               If no value is specified for a, x = 0;

private:
    int x;
    static int y;	//private static variable
};

⌨️ 快捷键说明

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