point.h
来自「压缩包里有教材<<C++模式设计-基于QT4开源跨平台开发框架>」· C头文件 代码 · 共 12 行
H
12 行
class Point { /* a class definition */ public: Point(int x, int y, int z); /* a constructor declaration */ int distance(Point other); /* a function declaration */ double norm() const { /* declaration and definition */ return distance(Point(0,0,0)); } private: int m_Xcoord, m_Ycoord, m_Zcoord; /* data member declaration */};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?