#include<iostream>
#include<fstream>
#include<string>
#include<windows.h>
#include<conio.h>
using namespace std;
string work[20][3];
string name;
int ch,cnt=0;
bool baoshi=false;
void getwork()
{
cout<<"请输入要查看的学科名"<<endl;
string a;
cin>>a;
cout<<"------------------------------------"<<endl;
for(int i=0;i<cnt;i++)
{
if(work[i][0]==a)
{
cout<<work[i][0]<<endl;
cout<<work[i][1]<<endl;
system("pause");
}
}
return;
}
void getworks()
{
for(int i=0;i<cnt;i++)
{
if(work[i][0]!="over")
{
cout<<work[i][0]<<endl;
cout<<work[i][1]<<endl;
cout<<"--------------------------"<<endl;
用c++写作业管理系统
最新推荐文章于 2022-08-18 20:29:15 发布