Initial commit

This commit is contained in:
weiyuqing committed 2023-07-18 23:13:36 +08:00
commit 6beb7a1616
207 files changed
+18047

No files matched your search

@@ -0,0 +1,18 @@
#include"3.23.h"
Person dancer[MAXQSIZE];
int main() {
int i = 0;
fstream file;
file.open("DancePartner.txt");
if (!file) {
cout << "错误!未找到文件!\n\n" << endl;
exit( ERROR);
}
while (!file.eof()) {
file >> dancer[i].name >> dancer[i].sex;
i++;
}
DancePartner(dancer, i + 1);
return 0;
}