服务器之家:专注于VPS、云服务器配置技术及软件下载分享
分类导航

PHP教程|ASP.NET教程|Java教程|ASP教程|编程技术|正则表达式|C/C++|IOS|C#|Swift|Android|VB|R语言|JavaScript|易语言|vb.net|

服务器之家 - 编程语言 - C/C++ - C++实现歌手比赛评分系统

C++实现歌手比赛评分系统

2022-10-21 14:05m0_62236835 C/C++

这篇文章主要为大家详细介绍了C++实现歌手比赛评分系统,文中示例代码介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下

本文实例为大家分享了C++实现歌手比赛评分系统的具体代码,供大家参考,具体内容如下

(一) 需求和规格说明

对一次歌手比赛的成绩进行管理,功能要求:

1、输入每个选手的数据包括编号、姓名、十个评委的成绩,根据输入计算

出总成绩和平均成绩(去掉最高分,去掉最低分)。

2、显示主菜单如下:

1)输入选手数据

2)评委打分

3)成绩排序(按平均分)

4)数据查询

5)追加选手数据

6)写入数据文件

7)退出系统。

(二) 设计

根据上述需求,运用链表存储歌手的数据,

1.数据的生成

歌手比赛选手首先我们需要歌手的基本信息,将每一位用户的编号、姓名输入系统中,然后进行评委打分,之后我们对数据进行处理分析,计算出总分和平均值,并以.txt文件的格式储存起来。

2.数据的存储结构

考虑到一个宿舍的人员是有限的,所以可以用链表进行存储。宿舍的人员设计为结构体变量:

?
1
2
3
4
5
6
7
8
9
struct singer{undefined
 
long lNum;
char name[20];
float fScore[10];
float sum1, sum2, max, min, average;
struct singer *pNext;
 
};

其中包含选手编号、姓名、评委打分、总分(去除最高分和最低分)、最高分数、最低分数和平均分。然后我们在主函数当中定义一个结构指针struct singer *spHead,作为链表的头结点,然后依次创建下一个结构体对他们进行遍历输入存储。

3.功能的设计

函数功能的介绍

接收选手数据 :struct singer *CreatLiList(void);

评委打分:void score(struct singer *);

遍历输出数歌手数据:void TraverLiList(struct singer *);

追加选手数据:int AppendNode(struct singer *,long , char *, float*);

删除数据:int DeleteNode(struct singer *,long);

搜索数据:int SearchNode(struct singer *,long );

退出系统,删除链表数据:struct singer *ReleaseLiList(struct singer *);

链表数据根据平均分排序:struct singer* SortList(struct singer* );

将数据写入文件:将数据写入文件:void input(struct singer *);

(1)输入选手数据

用户选择功能1之后,我们对输入的歌手的编号和姓名进行统计存储,直到用户输入-1时,我们默认接受数据完毕,返回主程序功能页面。

(2)评委打分

用户选择功能1之后,我们要根据用户输入的歌手的编号先对链表进行查找,如果歌手编号输入错误,则提醒用户重新输入。找到该歌手之后,提醒用户输入的10评委的打分成绩,同时将他们存进结构体里面的数组,我们一边接受一边对成绩进行统计,将总分最高分和最低分计算出来,然后用总分减去最高分和最低分,然后除以8得到歌手的实际平均分数,这将作为我们下一步进行排序的重要依据。

(3)成绩排序(按平均分)

根据第二部统计出的平均分数,我们对链表数据进行插入排序。

思路: 插入排序,顾名思义就是在两个节点之间插入另一个节点,并且保持序列是有序的。如果当前要将节点cur插入到节点pre之后,我们只需要知道cur的前驱和插入位置(其实就是要插在哪个节点之后)就可以了。

(4)歌手数据查询

根据输入编号,对链表进行遍历循环,直到找到相应的歌手编号,并对他的成绩和个人信息进行输出。

(5)追加选手数据

输入待追加的选手编号,我们将开辟在链表的最后开辟新的结构体变量内存单元,并对选手的姓名和评分进行录入。

(6)写入数据文件

  我们对歌手信息进行接受整理和排序之后将歌手的信息存入桌面下的txt文件中例如:C:\\Users\\fengling\\Desktop\\歌手比赛打分数据统计.txt。这样可以在桌面打开,然后查看歌手排序好的信息。

(7)遍历显示数据

考虑到对歌手的信息可能进行多次的修改,我们要检测程序运行的准确性。所以每一步操作之后,都可以选择功能7,对选手数据进行遍历输出。

(8)删除选手数据

考虑到对歌手可能退赛并没有参加比赛也没有相应的分数,所以我们可以从链表中删除该选手的编号和姓名信息,达到节约内存、方便显示管理的目的。

(9)退出系统

退出系统时对链表内存进行释放,然后结束退出程序循环。

代码

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <fstream>
#include <string>
using namespace std;
 
struct singer{
    long lNum;
    char name[20];
    float fScore[10];
    float sum1, sum2, max, min, average;
    struct singer *pNext;
};
 
const int SIZE =  sizeof(struct singer);
 
//界面优化
class Interface
{
private:
    int line;//操作数的行数
    string *name;
    static int nowline;
public:
    void GetMessage(int line1,string *name1)
    {
        line=line1;
        name=new string [line];
        name=name1;
        
    }
    static void AddNowLine()
    {
        nowline++;
    }
    void ShowHead()
    {
        ShowSpace();
        for(int i=0;i<50;i++)
        {
            if(i==0)
                cout<<"╔";
            else
            {
                if(i==49)
                    cout<<"╗";
                else
                    cout<<"═";
            }
        }
        cout<<endl;
        AddNowLine();
    }
    void ShowSpace()
    {
        for(int x=0;x<12;x++)
            cout<<" ";
    }
    void ShowOrderLine(int x)
    {
        int *number=new int[line];
        for(int i=0,j=1;i<line;j++,i++)
            number[i]=j;
        int length;
        length=name[x].length();
 
        cout<<"║";
        cout<<number[x]<<'.';
        for(int temp=0;temp<46-length;temp++)//46-length==48-length-2
            cout<<"-";
        cout<<name[x];
        cout<<"║";
    }
    void ShowSpaceLine()
    {
        cout<<"║";
        for(int k=0;k<48;k++)
            cout<<" ";
        cout<<"║"<<endl;
    }
    void ShowEmptyLine()
    {
        if(nowline<14)
        {
            for(int i=nowline;i<=14;i++)
            {
                ShowSpace();
                AddNowLine();
                ShowSpaceLine();
                AddNowLine();
            }
        }
    }
    void ShowBody()
    {
        for(int i=0,j=1;i<line;i++,j++)
        {
            ShowSpace();//前排的空格
            AddNowLine();
            ShowOrderLine(i);
 
            cout<<endl;
 
            ShowSpace();//前排的空格
            AddNowLine();
            ShowSpaceLine();
        }
 
    }
    void ShowReturn()
    {
        ShowSpace();
        AddNowLine();
        cout<<"║9.";
        for(int i=0;i<42;i++)
            cout<<"-";
        cout<<"退出║"<<endl;
    }
    void ShowEndLine()
    {
        ShowSpace();
        for(int i=0;i<50;i++)
        {
            if(i==0)
                cout<<"╚";
            else
            {
                if(i==49)
                    cout<<"╝";
                else
                    cout<<"═";
            }
        }
        cout<<endl;
        AddNowLine();
    }
    void ShowSurface()
    {
        ShowHead();
        ShowBody();
        ShowEmptyLine();
        ShowReturn();
        ShowEndLine();
    }
};
 
int Interface::nowline=0;
 
//接收选手数据 
struct singer *CreatLiList(void);
struct singer *CreatLiList(void)
{
    struct singer *spHead,*spPre,*spCur;
    long lv;
    spPre = new struct singer;
    //spPre  = (struct singer *)malloc(SIZE);//头结点
    if (spPre == NULL){
        return NULL;
    }
    spHead = spPre;
    spHead -> pNext = NULL;
    
    do{
        cout << "请输入歌手编号:";
        cin >> lv;
        if (lv != -1){
            spCur = new struct singer;
            //spCur = (struct singer *)malloc(SIZE);
            spCur -> lNum = lv;
            spCur -> sum1 = 0;
            getchar();
            cout << "请输入姓名:"
            cin.getline(spCur -> name, 20);
            spCur -> pNext = NULL;
            spPre -> pNext = spCur;
            spPre = spCur;
        }
    }while(lv != -1 );//以-1结束。
    return spHead;
}
 
//评委打分
void score(struct singer *);
void score(struct singer *sp)
{
    long lv;
    struct singer *spCur;    
    do{
        spCur = sp;
        cout << "输入歌手编号:";
        cin >> lv;
        while(spCur -> pNext != NULL && spCur -> lNum != lv)
        {
            spCur = spCur -> pNext;
        }
        if (spCur ->lNum == lv){
            spCur -> sum1 = 0;
            cout << "请输入相应10位评委成绩:" ;
            for(int i = 0; i < 10; i++)
            {
                cin >> spCur -> fScore[i];
                spCur -> sum1 += spCur -> fScore[i];
                if(i == 0)
                {
                    spCur -> min = spCur -> fScore[0];
                    spCur -> max = spCur -> fScore[0];
                }
                else if(spCur -> fScore[i] > spCur -> max)
                {
                    spCur -> max = spCur -> fScore[i];
                }
                else if(spCur -> fScore[i] < spCur -> min)
                {
                    spCur -> min = spCur -> fScore[i];
                }
            }
            spCur -> sum2 = (spCur -> sum1) - (spCur -> max) - (spCur -> min);
            spCur -> average = spCur -> sum2 / 8.0f;
        }
        else
        {
            cout << "歌手编号输入错误,请重新"
        }
    } while (lv != -1 );//以-1结束。
 
//遍历输出数歌手数据 
void TraverLiList(struct singer *);
void TraverLiList(struct singer *sp)
{
    struct singer *spCur;
    spCur = sp -> pNext;
    while (spCur != NULL){
        cout << "ID:" << setw(6) << spCur -> lNum << endl;
        cout << "姓名:  " << spCur -> name << endl;
        cout << "十位评委打分成绩为:" << endl;
        for(int i = 0; i < 10; i++)
        cout << "第" << i + 1 << "评委打分为:" << setw(5) << fixed << setprecision(1) << spCur -> fScore[i] << endl; 
        cout << "去除最高分和最低分的总分为:" << spCur -> sum2;
        cout << "  平均分数为:" << spCur -> average << endl;
        cout << endl;
        spCur = spCur -> pNext;
    }
}
 
//追加选手数据 
int AppendNode(struct singer *,long , char *, float*);
int AppendNode(struct singer *sp,long lArg, char *m, float *fArg)
{
    struct singer *spCur,*spNew;
    spCur = sp;
    int i = 0, j = 0;
    while(spCur -> pNext != NULL){
         spCur = spCur -> pNext;
    }
    spNew = new struct singer;
    if (spNew == NULL){
        return 1;
    }
    spNew -> lNum = lArg;
    for(m, j; *m; m++, j++)
    {
        spNew -> name[j] = *m;
    }
    spNew -> name[j] = '\0';
    for(i = 0; i < 10; i++)
    {
        spNew -> fScore[i] = fArg[i];
    }
    for(i = 0; i < 10; i++)
    {
        
        spNew -> sum1 += spNew -> fScore[i];
        if(i == 0)
        {
            spNew -> min = spNew -> fScore[0];
            spNew -> max = spNew -> fScore[0];
        }
        else if(spNew -> fScore[i] > spNew -> max)
        {
            spNew -> max = spNew -> fScore[i];
        }
        else if(spNew -> fScore[i] < spNew -> min)
        {
            spNew -> min = spNew -> fScore[i];
        }
        }
        spNew -> sum2 = (spNew -> sum1) - (spNew -> max) - (spNew -> min);
        spNew -> average = spNew -> sum2 / 8.0f;
    spNew -> pNext = NULL;
    spCur -> pNext = spNew;
    return 0;
}
 
//删除数据
int DeleteNode(struct singer *,long);
int DeleteNode(struct singer *sp,long lArg)
{
    struct singer *spCur,*spT;
    spCur = sp;
    while(spCur -> pNext != NULL && spCur -> pNext ->lNum != lArg){
        spCur = spCur -> pNext;
    }
    if (spCur -> pNext == NULL){
        return 1;
    }
    spT = spCur -> pNext;
    spCur -> pNext = spCur -> pNext -> pNext;
    delete spT;//删除歌手的数据 
    return 0;
}
 
//搜索数据 
int SearchNode(struct singer *,long );
int SearchNode(struct singer *sp,long lArg)
{
    struct singer *spCur;
    spCur = sp;
    while(spCur -> pNext != NULL && spCur -> lNum != lArg){
        spCur = spCur -> pNext;
    }
    if (spCur ->lNum == lArg){
        cout << "ID:" << setw(12) << spCur -> lNum << endl;
        cout << "name:  " << spCur -> name << endl;
        cout << "评委成绩为:" << endl; 
        for(int i = 0; i < 10; i++)
        {
            cout  << setw(8) << fixed << setprecision(1) << spCur -> fScore[i] << endl;
        }
        cout << "去除最高分和最低分的总分为:" << spCur -> sum2;
        cout << "  平均分数为:" << spCur -> average << endl;
        return 0;
    }
    else
    {
        return 1;
    }
}
 
//退出系统,删除链表数据
struct singer *ReleaseLiList(struct singer *);
struct singer *ReleaseLiList(struct singer *sp)
{
    struct singer *spCurr,*spPrv;
    spPrv = sp;
    while (spPrv -> pNext != NULL){
        spCurr = spPrv -> pNext;
        delete spPrv;
        spPrv = spCurr;
    }
    delete sp;
    return NULL;
}
 
//链表数据根据平均分排序
struct singer* SortList(struct singer* );
struct singer* SortList(struct singer* head) {
        if(!head || !head->pNext) 
        return head;
        struct singer* dummy = NULL;
        dummy = new singer[1];
        dummy -> pNext = head;
        struct singer* pre = head; // 当前节点的前驱
        struct singer* cur = head->pNext;
        while(cur != NULL){
            struct singer* tmp = dummy;
            if(pre-> average >= cur->average){ //需要进行插入
                while(tmp->pNext->average < cur->average) //从第一个节点开始寻找插入位置
                    tmp = tmp->pNext; // cur应该插入在tmp后面
                pre->pNext = cur->pNext; //断开节点cur
                cur->pNext = tmp->pNext; //插入
                tmp->pNext = cur;
                cur = pre->pNext; //继续处理下一个节点
            }
            else{ //无需插入
                pre = pre->pNext;
                cur = cur->pNext;
            }
        }
        cout << "歌手按平均分排序成功!请选择功能7遍历查看。";
        system("Pause");
        return dummy->pNext;
    }
 
//将数据写入文件
void input(struct singer *);
void input(struct singer *sp)
{
    fstream outFile;
    outFile.open("C:\\Users\\fengling\\Desktop\\歌手比赛打分数据统计.txt", ios::out);
    if (!outFile){
        cout << "Destination file open error!";
        cout << "文件写入错误";
        exit(1);
    }
    else
    {
        cout << "文件写入中......" << endl;
    }
    struct singer *spCur;
    spCur = sp -> pNext;
    while (spCur != NULL){
        outFile << "ID:" << setw(6) << spCur -> lNum << endl;
        outFile << "姓名:  " << spCur -> name << endl;
        outFile << "十位评委打分成绩为:" << endl;
        for(int i = 0; i < 10; i++)
        outFile << "第" << i + 1 << "评委打分为:" <<setw(5) << fixed << setprecision(1) << spCur -> fScore[i] << endl;
        outFile << "去除最高分和最低分的总分为:" << spCur -> sum2;
        outFile << "  平均分数为:" << spCur -> average << endl;
        outFile << endl;
        spCur = spCur -> pNext;
    }
    outFile.close();
    cout << "文件写入成功!请在桌面下打开查看。";
    system("Pause");
}
 
int main(void)
{
    struct singer *spHead = NULL;
    int iIndex, iStatus = 0;
    long lID;
    float fScore[10];
    system("color 5E");
    do{
        system("CLS");
        cout << "             ——————————*歌手评分系统*————————" << endl; 
        Interface x;
        string *per=new string[10];
        per[0]="输入选手数据";
        per[1]="评委打分";
        per[2]="成绩排序(按平均分)";
        per[3]="歌手数据查询";
        per[4]="追加选手数据";
        per[5]="写入数据文件";
        per[6]="遍历显示数据";
        per[7]="删除选手数据 ";
        x.GetMessage(8,per);
        x.ShowSurface();
        cout << "输入选择项:";
        cin >> iIndex;
 
        switch(iIndex)
        {
        case 1://输入选手数据。
            system("CLS");
            if (spHead != NULL){
                ReleaseLiList(spHead);
                spHead = NULL;
            }
            cout << "以空格分隔输入歌手遍号、姓名后回车确认(输入-1结束)\n";
            spHead = CreatLiList();
            break;
        case 2://评委打分。
            system("CLS");
            if (spHead == NULL){
                cout << "歌手数据未录入,请选择1输入数据!";
                system("Pause");
                break;
            }
            score(spHead);
            break;
        case 3://成绩排序。
            system("CLS");
            if (spHead == NULL){
                cout << "歌手数据未录入,请选择1输入数据!";
                system("Pause");
                break;
            }
            SortList(spHead);
            break;
        case 4: //数据查询。
            system("CLS");
            if (spHead == NULL){
                cout << "歌手信息未录入,请选择1输入数据!";
                system("Pause");
                break;
            }
            cout << "输入需要查找的歌手编号:";
            cin >> lID;
            iStatus = SearchNode(spHead,lID);
            if (iStatus == 1){
                cout << "The Id is not found!\n";
            }
            system("Pause");
            break
        case 5://追加选手数据。
            system("CLS");
            if (spHead == NULL){
                cout << "歌手信息未录入,请选择1输入数据!";
                system("Pause");
                break;
            }
            char str[20];
            cout << "请输入编号:";
            cin >> lID;  
            getchar();
            cout << "请输入姓名:";
            cin.getline(str,80);
            cout << "请输入分数:";
            for(int i = 0; i < 10; i++)
            {
                cin >> fScore[i];
            }
            iStatus = AppendNode(spHead, lID, str, fScore);
            if (iStatus == 1){
                cout << "添加失败!\n";
            }
            else{
                cout << "添加成功!\n";
            }
            break;
        case 6://写入文件
            system("CLS");
            if (spHead == NULL){
                cout << "歌手信息未录入,请选择1输入数据!";
                system("Pause");
                break;
            }
            input(spHead);
            break
        case 7://遍历显示数据。
            system("CLS");
            if (spHead == NULL){
                cout << "歌手信息未录入,请选择1输入数据!";
                system("Pause");
                break;
            }
            cout << "歌手的数据为:\n";
            TraverLiList(spHead);
            system("pause");
            break;
        case 8://删除选手数据。
            system("CLS");
            if (spHead == NULL){
                cout << "歌手信息未录入,请选择1输入数据!";
                system("Pause");
                break;
            }
            cout << "输入要删除结点的选手编号:";
            cin >> lID;
            iStatus = DeleteNode(spHead,lID);
            if (iStatus == 1){
                cout << "删除失败!\n";
            }
            else{
                cout << "删除成功!\n";
            }
            system("Pause");
            break;
        case 9://退出系统 
            if (spHead != NULL){//释放链表
                ReleaseLiList(spHead);
                spHead = NULL;
            }
            exit(0);
        default:
            cout << "选择错误,请重新输入选择项!\n";
            system("Pause");
        }
    } while(1); 
    
    return 0; 
}

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持服务器之家。

原文链接:https://blog.csdn.net/m0_62236835/article/details/122993936

延伸 · 阅读

精彩推荐
  • C/C++C++ 实现LRU 与 LFU 的缓存算法

    C++ 实现LRU 与 LFU 的缓存算法

    设计和实现一个LRU 缓存机制。其支持获取数据 get 和 写入数据 put,设计并实现最少访问频率(LFU)缓存的数据结构。LFU的每个数据块都有一个引用计数,...

    Ito Schum3962022-01-05
  • C/C++C语言编写学生成绩管理系统

    C语言编写学生成绩管理系统

    这篇文章主要为大家详细介绍了C语言编写学生成绩管理系统,文中示例代码介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下...

    无形的飘影5082021-06-15
  • C/C++基于C++实现的各种内部排序算法汇总

    基于C++实现的各种内部排序算法汇总

    这篇文章主要介绍了基于C++实现的各种内部排序算法,非常经典,需要的朋友可以参考下...

    C++教程网9382021-01-27
  • C/C++详解C++中的对象指针与对象数组

    详解C++中的对象指针与对象数组

    这篇文章主要介绍了详解C++中的对象指针与对象数组,是C++入门学习中的基础知识,需要的朋友可以参考下 ...

    C++教程网10702021-03-13
  • C/C++深度剖析C语言结构体

    深度剖析C语言结构体

    今天小编就为大家分享一篇关于深度剖析C语言结构体,小编觉得内容挺不错的,现在分享给大家,具有很好的参考价值,需要的朋友一起跟随小编来看看吧...

    Engineer-Bruce_Yang9602021-07-13
  • C/C++c++实现发送http请求通过get方式获取网页源代码

    c++实现发送http请求通过get方式获取网页源代码

    这篇文章主要介绍了c++实现发送http请求,通过get方式获取网页源代码的示例,需要的朋友可以参考下...

    C++教程网9522021-01-16
  • C/C++C语言中static和auto用法详解

    C语言中static和auto用法详解

    大家好,本篇文章主要讲的是C语言中static和auto用法详解,感兴趣的同学赶快来看一看吧,对你有帮助的话记得收藏一下...

    PEI.大.大5732022-08-28
  • C/C++c语言连接mysql数据库的实现方法

    c语言连接mysql数据库的实现方法

    C语言连接mysql数据库,需要相应的头文件和lib文件,如果你安装Mysql数据库,会在安装目录下找到这些库文件,如果没有安装,也可以在网上找到...

    脚本之家2232020-11-09