📄 ct.cpp
字号:
#include <iostream>#include <time.h>#include <stdio.h>using namespace std;int main(){ cout << "Time test:" << endl; time_t tbegin; time(&tbegin); sleep(2); time_t tend; time(&tend); cout << "Spand time:" << tend-tbegin << endl;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -