?? main.cpp
字號:
#include<iostream>
#include"LL1_judge.h"
using namespace std;
void main()
{
cout<<"a->A|@"<<endl;
LL1_judge test;
test.in_terminal_sign("i()+*");
test.in_non_terminal_sign("ATF");
test.in_type("A->A+T|T");
test.in_type("T->T*F|F");
test.in_type("F->(A)|i");
test.display_all();
test.cancel_directly();
bool a;
a=test.judge_indirectly();
cout<<"******************* "<<a<<endl;
test.cancel_indirectly();
test.find_first();
test.display_all();
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -