?? main.cpp
字號:
//詞法分析主文件
//作者:汪建友
//完成時間:2007-4-15
//郵箱:neuwjyou@163.com
#include "construe.h"
#include <time.h>
int main()
{
clock_t start,finish;
char filename[50];
cout<<"Please input the scource name:";
cin>>filename;
start=clock();
bool result=construe(filename);
finish=clock();
double d=(double)(finish-start)/CLOCKS_PER_SEC;
if(result)
cout<<"construe success!"<<endl;
else
cout<<"construe faild!"<<endl;
cout<<"use time:"<<d<<endl;
return 1;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -