0
已解决
刘乐宸
新手天翼
新手天翼
现在,我开始做起了手机的生意。
公司为:S-mPhone电子科技有限公司(SMP)
目前,我们推出了S-mPhone α 试用款,**是自创的SYs 1.0基**版
因为是试用阶段,技术暂不成熟,暂未加入软件,欢迎大家和我合作,加入你们的软件。
#include <bits/stdc++.h>
#include <time.h>
#include <conio.h>
#include <windows.h>
#pragma GCC optimize ("2")
using namespace std;
void Ti(){
SetConsoleTitle("S-mPhone α试用款、**:SYs 1.0基**版");
}
void create_screen()
{
printf("╭ -------------------------------------╮"),printf("\n");
printf(" | ○ ● | "), printf("\n");
printf(" |_____________________________________| "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf("┗======================================┛"),printf("\n");
}
void open()
{
printf("╭ -------------------------------------╮"),printf("\n");
printf(" | ○ ● | "), printf("\n");
printf(" |_____________________________________| "), printf("\n");
printf(" | ________ | "), printf("\n");
printf(" | | |-- --| | "), printf("\n");
printf(" | |________ ---- | | | | | "), printf("\n");
printf(" | | | |/ | | "), printf("\n");
printf(" | ________| | | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | _____ | "), printf("\n");
printf(" | | | | "), printf("\n");
printf(" | |____| __ _ ___ | "), printf("\n");
printf(" | | | | | | | | /| | | "), printf("\n");
printf(" | | |--| | | | \\/ | |--- | "), printf("\n");
printf(" | | | | |__| | \\| | |___ | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | 开机中…… | "), printf("\n");
printf(" | | "), printf("\n");
printf("┗======================================┛"),printf("\n");
}
void sp1()
{
printf("╭ -------------------------------------╮"),printf("\n");
printf(" | ○ ● | "), printf("\n");
printf(" |_____________________________________| "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | S-mPhone α 试用款 | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | ________ | "), printf("\n");
printf(" | | |-- --| | "), printf("\n");
printf(" | |________ ---- | | | | | "), printf("\n");
printf(" | | | |/ | | "), printf("\n");
printf(" | ________| | | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | 锁屏中 | "), printf("\n");
printf(" | ------ | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | (按S键以解锁) | "), printf("\n");
printf(" | | "), printf("\n");
printf("┗======================================┛"),printf("\n");
}
void desk1()
{
printf("╭ -------------------------------------╮"),printf("\n");
printf(" | ○ ● | "), printf("\n");
printf(" |_____________________________________| "), printf("\n");
printf(" | | "), printf("\n");
printf(" | ┍─┑ | "), printf("\n");
printf(" | ┃E┃ | "), printf("\n");
printf(" | ┕─┙ | "), printf("\n");
printf(" |English-NAME | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf("┗======================================┛"),printf("\n");
}
char c;
void ENGLISH_NAME()
{
printf("╭ -------------------------------------╮"),printf("\n");
printf(" | ○ ● | "), printf("\n");
printf(" |_____________________________________| "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | 内容敬请期待!!! | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf(" | | "), printf("\n");
printf("┗======================================┛"),printf("\n");
Sleep(3000);
}
int main()
{
Ti();
int messx=MessageBox(NULL,"欢迎使用S-mPhone α 试用款,作者:刘乐宸","**:Sys 1.0基**版",MB_YESNOCANCEL);
if(messx==IDCANCEL||messx==IDNO)return 0;
create_screen();
Sleep(1000);
system("Cls");
open();
Sleep(6000);
system("Cls");
sp1();
c=getch();
if(c=='S')
{
system("Cls");
desk1();
c=getch();
if(c=='E')
{
system("Cls");
ENGLISH_NAME();
system("Cls");
}
desk();
}
else{
create_screen();
}
return 0;
}
//S-mPhone试用款
//**:SYs 1.0基**版
刘乐宸在2022-04-05 18:16:46追加了内容
其中的ENGLISH-NAME图标是我自己创造的一个软件。源代码:
#include <bits/stdc++.h>
#include <time.h>
#include <windows.h>
using namespace std;
string s;
char yuan[]={'a','e','i','o','u'};
char start[]={'q','w','r','t','p','s','d','f','g','h','j','k','a','i','o','z','x','c','b','n','m'};
char end[]={'r','t','e','o','p','g','l','x','v','n','m'};
char fu[]={'q','w','r','t','y','p','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m'};
string sn[]={"Jackson","Materse","Singmar","Caseker","Bettyer","Marsion","Leother","Karmion","William","Clinton","Georger","Bushlis"};
string final_name;
void Ti(){
SetConsoleTitle("ENGLISH-NAME**");
}
int main()
{
Ti();
int messx=MessageBox(NULL,"欢迎来到ENGLISH-NAME**,作者:刘乐宸","ENGLISH-NAME",MB_YESNOCANCEL);
if(messx==IDCANCEL||messx==IDNO)return 0;
system("color 25");
printf("__________________________\n");
printf("|欢迎来到ENGLISH-NAME**|\n");
printf("| 准备好获得你的英文名 |\n");
printf("|**:请一定按照规则答题|\n");
printf("|**:程序尚菜,推荐乱答|\n");
printf("--------------------------\n");
Sleep(3800);
s="准备好开始了?\n";
Sleep(1000);
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
system("Cls");
s="**不良游戏,拒绝盗版游戏\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
s="注意自我保护,谨防受骗上当\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
s="适度游戏益脑,沉迷游戏伤身\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
s="合理安排时间,享受健**活\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
Sleep(1000);
system("Cls");
s="你想要多少位英文名呢?(选择题)\n A.3位 B.4位 C.5位 D.7位\n 注:A、B为低配,C为高配,D的随机**太高所以采用默认库\n ans:";
Sleep(1000);
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
string xuan;
cin>>xuan;
system("Cls");
system("color 70");
cout<<"你选择的是"<<xuan<<endl;
Sleep(1000);
s="**加载中\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
for(int i=0; i<=100; i++)
{
cout<<i<<"%";
Sleep(1);
system("Cls");
}
if(xuan=="A")
{
Sleep(1000);
s="请输入你的生日\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
int year, month, day;
cout<<"年:";
cin>>year;
cout<<endl;
cout<<"月:";
cin>>month;
cout<<endl;
cout<<"日:";
cin>>day;
cout<<endl;
system("color 52");
s="生成中\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
s="□□□□□□□□□□\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(100);
}
system("Cls");
system("color 85");
Sleep(100);
s="OK!你的英文名是:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
final_name+=start[year%21];
final_name+=yuan[month%5];
final_name+=end[day%11];
// final_name[0] = char(final_name[0]+32);
final_name[0]-=32;
cout<<final_name;
}
else if(xuan=="B")
{
Sleep(1000);
s="请输入你的生日\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
int year, month, day;
cout<<"年:";
cin>>year;
cout<<endl;
cout<<"月:";
cin>>month;
cout<<endl;
cout<<"日:";
cin>>day;
cout<<endl;
system("Cls");
s="你的属相?(按照十二生肖顺序输入数字1~12)\n ans:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
int sx;
cin>>sx;
system("color 42");
system("Cls");
s="生成中\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
s="□□□□□□□□□□\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(100);
}
system("Cls");
system("color 85");
Sleep(100);
s="OK!你的英文名是:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
final_name+=start[year%21];
final_name+=yuan[month%5];
final_name+=end[day%11];
final_name+=end[sx*100%11];
// final_name[0] = char(final_name[0]+32);
final_name[0]-=32;
cout<<final_name;
}
else if(xuan=="C")
{
system("color 49");
Sleep(1000);
s="请选择您的**格\nA.开朗 B.沉默 C.坚毅 D.逗比 E.其他\n ans:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
char xg;
cin>>xg;
int n1=(int)(xg)*100;
system("Cls");
system("color 74");
s="请选择您的星座(尚不完全,敬请谅解)\nA.射手 B.白羊 C.金牛 D.巨蟹 E.** F.双鱼 G.双子 H.摩羯 I.其他\n ans:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
char xz;
cin>>xz;
int n2=(int)(xz)*100;
system("Cls");
system("color 13");
s="请输入你所在的世纪\n ans:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
int sj;
cin>>sj;
int n3=(int)(sj)*10;
system("Cls");
system("color 13");
s="请输入你有几个NPY\n ans:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
int py;
cin>>py;
int n4=(int)(py)*100;
system("Cls");
system("color 24");
s="请输入你今年多少岁了\n ans:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
int nn;
cin>>nn;
int n5=(int)(nn)*100;
system("Cls");
s="请选择你的姓名格式(y代表元音,f代表辅助音)\n A.yfyfy B.fyfyf C.fyyff D.其他\n ans:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
char coose;
cin>>coose;
if(coose=='A')
{
Sleep(100);
s="OK!你的英文名是:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
final_name+=yuan[n1%5];
final_name+=fu[n2%21];
final_name+=yuan[n3%5];
final_name+=fu[n4*100%21];
final_name+=yuan[n5*100%5];
final_name[0]-=32;
// cout<<final_name;
}
if(coose=='B')
{
Sleep(100);
s="OK!你的英文名是:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
final_name+=fu[n1%21];
final_name+=yuan[n2%5];
final_name+=fu[n3%21];
final_name+=yuan[n4*100%5];
final_name+=fu[n5*100%21];
final_name[0]-=32;
// cout<<final_name;
}
if(coose=='C')
{
Sleep(100);
s="OK!你的英文名是:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
final_name+=fu[n1%21];
final_name+=yuan[n2%5];
final_name+=yuan[n3%5];
final_name+=fu[n4*100%21];
final_name+=fu[n5*100%21];
final_name[0]-=32;
// cout<<final_name;
}
if(coose=='D')
{
Sleep(100);
s="OK!你的英文名是:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
final_name+=start[n1%21];
final_name+=yuan[n2%5];
final_name+=fu[n3%21];
final_name+=yuan[n4*100%5];
final_name+=end[n5*100%10];
final_name[0]-=32;
// cout<<final_name;
}
system("color 42");
system("Cls");
s="生成中\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
s="□□□□□□□□□□\n";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(100);
}
system("Cls");
system("color 85");
Sleep(100);
s="OK!你的英文名是:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
cout<<final_name;
}
else if(xuan=="D")
{
system("Cls");
system("color 37");
s="请输入你的幸运数字\n ans:";
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(60);
}
int sz;
cin>>sz;
cout<<sn[sz%100%12];
}
Sleep(60000);
system("Cls");
system("color 52");
cout<<"\n感谢使用\n----------------------\n 鸣谢:刘乐宸\n 刘睿翔\n(挂名有意者私信)";
Sleep(6000);
return 0;
}
刘乐宸在2022-04-09 13:33:35追加了内容
顶,有谁和我合作吗?QAQ