- #include <iostream>
- #include <stdlib.h>
- using namespace std;
- int main()
- {
- char *a;
- cout << "欢迎使用易经查卦器,请输入需要使用的功能(输入 查卦象/查卦名/查宫卦 按enter键)" << endl;
- cin >> a;
- if (a=="查卦象") {
- system ("start 易经查卦象");
- }
- if (a=="查卦名") {
- system ("start 易经查卦名");
- }
- if (a=="查宫卦") {
- system ("start 易经查宫卦");
- } else {
- cout << "错误" << endl;
- }
- return 0;
- }
复制代码 |