📄 main.cpp
字号:
#include "logic.h"
int main()
{
LogicTree * logic = new LogicTree;
char data[50];
cout<<"please input the data[50]"<<endl;
cout<<"he qu xi qu fou din yun han"<<endl;
cout<<" / \\ ! > "<<endl;
cin.getline( data , 51 );
while( !logic->isRight( data ) )
{
cout<<"your input'data has erroe!!!"<<endl;
cout<<"please input the data[50] "<<endl;
cout<<"he qu xi qu fou din yun han"<<endl;
cout<<" / \\ ! > "<<endl;
cin.getline( data , 51 );
}
logic->setTree( logic->buildTree( data ) );
if( logic->getTree()->get() )
logic->changeTree( logic->getTree() );
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -