admin管理员组文章数量:1530885
2024年6月30日发(作者:)
#include
#include
#include
#include
using namespace std;
class dazi
{
public:
void setxy(int x,int y);
void welcome(float s);
int body(int s);
void start();
void about();
void select();
void end();
int time();
void help();
};
void dazi::welcome(float s)
{
for(int i=0;i<3;i++)
{
system("cls");
cout<<"nnnnnnnnnnttt正y在¨²进?入¨?请?稍¦?后¨®";
for(int j=0;j<10;j++)
{
Sleep(s);
cout<<".";
}
}
do
{
system("cls");
cout<<"n"< cout<<"nttt*********************************"< cout<<"nttt* 欢?迎®-挑¬?战? *"< cout<<"nttt*********************************"< //cout<<"nttt* *"< cout<<"nttt* *"< cout<<"nttt* 1.进?入¨?游®?戏¡¤ *"< cout<<"nttt* 2.游®?戏¡¤指?南? *"< cout<<"nttt* 3.关?于®¨²作Á¡Â者? *"< cout<<"nttt* 4.退ª?出? *"< cout<<"nttt* *"< cout<<"nttt*********************************"< cout<<"nttt请?选?择?:"; int i; cin>>i; switch(i) { case 1: select(); break; case 2: help(); break; case 3: about(); break; case 4: //Sleep(300); end(); exit(0); break; default: cout<<"您¨²的Ì?输º?入¨?有®D误¨®!按ã¡ä任¨?意°a键¨¹继¨¬ 续?......"; getchar(); //getchar(); }
版权声明:本文标题:一个经典的打字小游戏 内容由热心网友自发贡献,该文观点仅代表作者本人,
转载请联系作者并注明出处:https://m.elefans.com/xitong/1719680255a791146.html,
本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论