speaker.h
#pragma once
#include
#include <string>
using namespace std;
class Speaker {
public:
string m_Name;
double m_Score[2];
};
speechmanager.h
#pragma once
#include
#include
#include
speechmanager.cpp
#include "speechManager.h"
#include
#include
main.cpp
#include "speechManager.h"
using namespace std;
void test1() {
}
int main() {
SpeechManager sm;
srand((unsigned int)time(NULL));
int choice = 0;
while (true) {
sm.show_Menu();
cout << "请输入您的选择: " << endl;
cin >> choice;
switch (choice) {
case 1:
sm.startSpeech();
break;
case 2:
sm.showRecord();
break;
case 3:
sm.clearRecord();
break;
case 0:
sm.exitSystem();
break;
default:
system("cls");
break;
}
}
system("pause");
return 0;
}