数据结构课程设计学生成绩管理系统(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;
}
易探云香港vps主机价格多少钱?香港vps主机租用费用大体上是由配置决定的,我们选择香港vps主机租用最大的优势是免备案vps。但是,每家服务商的机房、配置、定价也不同。我们以最基础配置为标准,综合比对各大香港vps主机供应商的价格,即可选到高性能、价格适中的香港vps主机。通常1核CPU、1G内存、2Mbps独享带宽,价格在30元-120元/月。不过,易探云香港vps主机推出四个机房的优惠活动,...
HostNamaste是一家成立于2016年3月的印度IDC商家,目前有美国洛杉矶、达拉斯、杰克逊维尔、法国鲁贝、俄罗斯莫斯科、印度孟买、加拿大魁北克机房。其中洛杉矶是Quadranet也就是我们常说的QN机房(也有CC机房,可发工单让客服改机房);达拉斯是ColoCrossing也就是我们常说的CC机房;杰克逊维尔和法国鲁贝是OVH的高防机房。采用主流的OpenVZ和KVM架构,支持ipv6,免...
melbicom从2015年就开始运作了,在国内也是有一定的粉丝群,站长最早是从2017年开始介绍melbicom。上一次测评melbicom是在2018年,由于期间有不少人持续关注这个品牌,而且站长貌似也听说过路由什么的有变动的迹象。为此,今天重新对莫斯科数据中心的VPS进行一次简单测评,数据仅供参考。官方网站: https://melbicom.net比特币、信用卡、PayPal、支付宝、银联...