ct.cpp

来自「调用OCI的C++类」· C++ 代码 · 共 17 行

CPP
17
字号
#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 + =
减小字号Ctrl + -
显示快捷键?