数据结构课程设计学生成绩管理系统(C语言的)。。。要有删除、添加、排序、修改等功能#include 求数据结构 课程设计 背单词程序 C++
我刚写了个。
。
你看看符合不符合:
#include<iostream.h>
#include<stdlib.h>
#include<string.h>
char a[1005];
char b[1005];
void cxjg()
{
cout<<"**********************************"<<endl;
cout<<"正确 单词:"<<a<<endl;
cout<<"输入的单词:"<<b<<endl;
if(strcmp(a,b)==0)
cout<<"you are all right!"<<endl;
else
cout<<"继续努力"<<endl;
}
void bei()
{
int i;
cout<<"**********************************"<<endl;
cout<<"***1.背单词。
2.对比结果.0.返回****"<<endl;
cout<<"**********************************"<<endl;
while(cin>>i)
{
system("cls");
if(i==0)
break;
if(i==1)
{
cout<<"输入单词:";
cin>>b;
cout<<"输入完毕"<<endl;
}
if(i==2)
cxjg();
cout<<"**********************************"<<endl;
cout<<"***1.背单词。
2.对比结果.0.返回****"<<endl;
cout<<"**********************************"<<endl;
}
}
void cx()
{
cout<<"**********************************"<<endl;
cout<<"要背的单词是:"<<a<<endl;
cout<<"**********************************"<<endl;
}
void sr()
{
int i;
cout<<"**********************************"<<endl;
cout<<"**1.输入要背的单词.2查询要背单词**"<<endl;
cout<<"************0.返回****************"<<endl;
cout<<"**********************************"<<endl;
while(cin>>i)
{
system("cls");
if(i==0)
break;
if(i==1)
{
cin>>a;
cout<<"输入完毕"<<endl;
}
if(i==2)
cx();
cout<<"**********************************"<<endl;
cout<<"**1.输入要背的单词.2查询要背单词**"<<endl;
cout<<"************0.返回****************"<<endl;
cout<<"**********************************"<<endl;
}
}
void gn()
{
int i;
cout<<"**********************************"<<endl;
cout<<"************功能选择界面**********"<<endl;
cout<<"**输入相应的数字,进入相应的功能**"<<endl;
cout<<"**1.输入单词**2.背单词****0.返回**"<<endl;
cout<<"**********************************"<<endl;
while(cin>>i)
{
system("cls");
if(i==0)
break;
if(i==1)
sr();
if(i==2)
bei();
cout<<"**********************************"<<endl;
cout<<"************功能选择界面**********"<<endl;
cout<<"**输入相应的数字,进入相应的功能**"<<endl;
cout<<"**1.输入单词**2.背单词****0.返回**"<<endl;
cout<<"**********************************"<<endl;
}
}
int main()
{
int i;
cout<<"**********************************"<<endl;
cout<<"********欢迎来到背单词程序********"<<endl;
cout<<"******1.进入功能界面***0.退出*****"<<endl;
cout<<"**********************************"<<endl;
while(cin>>i)
{
system("cls");
if(i==1)
gn();
if(i==0)
break;
cout<<"**********************************"<<endl;
cout<<"********欢迎来到背单词程序********"<<endl;
cout<<"******1.进入功能界面***0.退出*****"<<endl;
cout<<"**********************************"<<endl;
}
return 0;
}
官方网站:点击访问华纳云活动官网活动方案:一、香港云服务器此次推出八种配置的香港云服务器,满足不同行业不同业务规模的客户需求,同时每种配置的云服务都有不同的带宽选择,灵活性更高,可用性更强,性价比更优质。配置带宽月付6折季付5.5折半年付5折年付4.5折2年付4折3年付3折购买1H1G2M/99180324576648直达购买5M/17331556710081134直达购买2H2G2M892444...
ucloud:全球大促活动降价了!这次云服务器全网最低价,也算是让利用户了,UCloud商家调低了之前的促销活动价格,并且新增了1核1G内存配置快杰型云服务器,价格是47元/年(也可选2元首月),这是全网同配置最便宜的云服务器了!UCloud全球大促活动促销机型有快杰型云服务器和通用型云服务器,促销机房国内海外都有,覆盖全球20个城市,具体有北京、上海、广州、香港、 台北、日本东京、越南胡志明市、...
CloudCone针对中国农历新年推出了几款特别套餐, 其中2019年前注册的用户可以以13.5美元/年的价格购买一款1G内存特价套餐,以及另外提供了两款不限制注册时间的用户可购买年付套餐。CloudCone是Quadcone旗下成立于2017年的子品牌,提供VPS及独立服务器租用,也是较早提供按小时计费VPS的商家之一,支持使用PayPal或者支付宝等付款方式。下面列出几款特别套餐配置信息。CP...