thing-demo.cpp.svn-base
来自「QT方面的开发」· SVN-BASE 代码 · 共 25 行
SVN-BASE
25 行
#include <iostream>#include "thing.h"void display(Thing t, int n) { int i; for (i = 0; i < n; ++i) t.show();}int main() { using namespace std; Thing t1, t2; t1.set(23, 'H'); t2.set(1234, 'w'); t1.increment();// cout << t1.m_Number; display(t1, 3);// cout << i << endl; t2.show(); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?