问题标题: 追梦者OS

0
0
已解决
李宜和
李宜和
高级启示者
高级启示者
#include<iostream>
#include<bits/stdc++.h>
#include<windows.h>
#include<winioctl.h>
#include<assert.h>
#include<ctype.h>
#include<cstdlib>
#include<errno.h>
#include<float.h>
#include<fstream>
#include<cstdio>
#include<math.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<wchar.h>
#include<wctype.h>
#include<algorithm>
#include<bitset>
#include<cctype>
#include<cerrno>
#include<clocale>
#include<cmath>
#include<complex>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<ctime>
#include<deque>
#include<exception>
#include<fstream>
#include<functional>
#include<limits>
#include<list>
#include<map>
#include<iomanip>
#include<ios>
#include<iosfwd>
#include<istream>
#include<ostream>
#include<queue>
#include<set>
#include<sstream>
#include<stack>
#include<stdexcept>
#include<streambuf>
#include<string>
#include<utility>
#include<vector>
#include<cwchar>
#include<cwctype>
#include<complex.h>
#include<fenv.h>
#include<inttypes.h>
#include<stdbool.h>
#include<stdint.h>
#include<tgmath.h>
#include<assert.h>
#define CLS SetPos(1000,1000) 
#include<ctype.h>
#include<errno.h>
#include<float.h>
#include<fstream>
#include<iomanip>
#include<limits.h>
#include<locale.h>
#include<math.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<wchar.h>
#include<wctype.h>
#include<algorithm>
#include<bitset>
#include<cerrno>
#include<clocale>
#include<cmath>
#include<complex>
#include<cstdlib>
#include<cstring>
#include<deque>
#include<algorithm>
#include<string>
#include<conio.h>
#include<iomanip>
#include<exception>
#include<fstream>
#include<functional>
#include<limits>
#include<list>
#include<iomanip>
#include<ios>
#include<iosfwd>
#include<iostream>
#include<istream>
#include<ostream>
#include<queue>
#include<set>
#include<sstream>
#include<stack>
#include<stdexcept>
#include<streambuf>
#include<vector>
#include<cwchar>
#include<cwctype>
#include<complex.h>
#include<fenv.h>
#include<inttypes.h>
#include<stdbool.h>
#include<conio.h>
#include <winable.h> 
#pragma GCC optimize(2)
#define qdo 262 
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
#include<string>
#include<cstdlib>
#include<ctime>
#include<conio.h>
#define qdo 262 
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
#pragma GCC diagnostic error "-std=c++11"
#pragma GCC target("avx")
#pragma GCC optimize(3)
#pragma GCC optimize("Ofast")
#pragma GCC optimize("inline")
#pragma GCC optimize("-fgcse")
#pragma GCC optimize("-fgcse-lm")
#pragma GCC optimize("-fipa-sra")
#pragma GCC optimize("-ftree-pre")
#pragma GCC optimize("-ftree-vrp")
#pragma GCC optimize("-fpeephole2")
#pragma GCC optimize("-ffast-math")
#pragma GCC optimize("-fsched-spec")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("-falign-jumps")
#pragma GCC optimize("-falign-loops")
#pragma GCC optimize("-falign-labels")
#pragma GCC optimize("-fdevirtualize")
#pragma GCC optimize("-fcaller-saves")
#pragma GCC optimize("-fcrossjumping")
#pragma GCC optimize("-fthread-jumps")
#pragma GCC optimize("-funroll-loops")
#pragma GCC optimize("-fwhole-program")
#pragma GCC optimize("-freorder-blocks")
#pragma GCC optimize("-fschedule-insns")
#pragma GCC optimize("inline-functions")
#pragma GCC optimize("-ftree-tail-merge")
#pragma GCC optimize("-fschedule-insns2")
#pragma GCC optimize("-fstrict-aliasing")
#pragma GCC optimize("-fstrict-overflow")
#pragma GCC optimize("-falign-functions")
#pragma GCC optimize("-fcse-skip-blocks")
#pragma GCC optimize("-fcse-follow-jumps")
#pragma GCC optimize("-fsched-interblock")
#pragma GCC optimize("-fpartial-inlining")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("-freorder-functions")
#pragma GCC optimize("-findirect-inlining")
#pragma GCC optimize("-fhoist-adjacent-loads")
#pragma GCC optimize("-frerun-cse-after-loop")
#pragma GCC optimize("inline-small-functions")
#pragma GCC optimize("-finline-small-functions")
#pragma GCC optimize("-ftree-switch-conversion")
#pragma GCC optimize("-foptimize-sibling-calls")
#pragma GCC optimize("-fexpensive-optimizations")
#pragma GCC optimize("-funsafe-loop-optimizations")
#pragma GCC optimize("inline-functions-called-once")
#pragma GCC optimize("-fdelete-null-pointer-checks")
#pragma GCC optimize(3)
#define qdo 262
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
#define qdo 262
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
using namespace std;
int main(){    
    srand((unsigned) time(NULL));
    long long a,xmsx=0;
    MessageBox(NULL,"鑫汇工作室出品","鑫汇工作室",MB_OK);
    cout<<endl;
    cout<<"\t\t\t\t鑫汇";
    Sleep(3000);
    system("cls");
    cout<<endl;
    cout<<endl;
    cout<<endl;
    cout<<endl;
    cout<<endl;
    cout<<endl;
    cout<<"\t\t\t\t加载中";
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    system("cls");
    cout<<"\t\t\t\t.";
    Sleep(300);
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    cout<<".";
    Sleep(300);
    system("cls");
    cout<<endl;
    cout<<endl;
    cout<<endl;
    cout<<endl;
    cout<<endl;
    cout<<endl;
    cout<<"\t\t\t\t完成!";
    Sleep(300);
    system("cls");
    MessageBox(NULL,"是否开机?","追梦者OS",MB_OK); 
    for(int i=1;i<=100;i++){
        if(i>=60){
            if(i>=80){
                if(i>=99){
                    cout<<"开机中:"<<"%"<<i;
                    Sleep(3000);
                    system("cls");
                    continue;
                }
                cout<<"开机中:"<<"%"<<i;
                Sleep(500);
                system("cls");
                continue;
            }
            cout<<"开机中:"<<"%"<<i;
            Sleep(300);
            system("cls");
            continue;
        } 
        cout<<"开机中:"<<"%"<<i;
        Sleep(100);
        system("cls");
    } 
    const int _oC = 324, _oD = 297, _oF = 334, _oG = 956, _oA = 123;
    const int _C = 262, _D = 294, _E = 330, _F = 349, _G = 392, _A = 440, _B = 494;
    const int oC = 554, oD = 622, oF = 740, oG = 831, oA = 932;
    const int C = 523, D = 578, E = 659, F = 698, G = 784, A = 880, B = 988;
    const int C_ = 1047, D_ = 1175, E_ = 1319, F_ = 1397, G_ = 1568, A_ = 1760, B_ = 1976;
    const int oC_ = 1109, oD_ = 1245, oF_ = 1480, oG_ = 1661, oA_ = 1865;
    const int T = 200; 
    const int Stop = 0;
    Beep(F,T);
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2);
    Beep(E,T);
    Beep(G,T*2);
    Beep(D,T*2);
    Beep(F,T*2);
    Beep(E,T*2);
    Beep(F,T);
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2); 
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2);
    Beep(E,T);
    Beep(E,T);
    Beep(E,T);
    Beep(F,T*2);
    Beep(E,T*2);
    Beep(F,T);
    Beep(E,T);
    Beep(D,T*2);
    Beep(F,T);
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2);
    Beep(E,T);
    Beep(G,T*2);
    Beep(D,T*2);
    Beep(F,T*2);
    Beep(E,T*2);
    Beep(F,T);
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2); 
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2);
    Beep(E,T);
    Beep(E,T);
    Beep(E,T);
    Beep(F,T*2);
    Beep(E,T*2);
    Beep(F,T);
    Beep(E,T);
    Beep(D,T*2);
    Beep(F,T);
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2);
    Beep(E,T);
    Beep(G,T*2);
    Beep(D,T*2);
    Beep(F,T*2);
    Beep(E,T*2);
    Beep(F,T);
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2); 
    Beep(D,T);
    Beep(A,T);
    Beep(G,T*2);
    Beep(E,T);
    Beep(E,T);
    Beep(E,T);
    Beep(F,T*2);
    Beep(E,T*2);
    Beep(F,T);
    Beep(E,T);
    Beep(D,T*2);
    MessageBox(NULL,"开机成功!","追梦者OS",MB_OK); 
    string mz;
    cout<<"请输入用户名(回车确认)。";
    cin>>mz; 
    system("cls");
    int c=0,d=0,z=0;
while(1){
    cout<<"—————————————"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—       1.             —"<<endl;
    cout<<"—     此电脑           —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—————————————"<<endl;
    cout<<"—————————————"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—       2.             —"<<endl;
    cout<<"—     回收站           —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—————————————"<<endl;
    cout<<"—————————————"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—       3.             —"<<endl;
    cout<<"—     小说             —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—————————————"<<endl;
    cout<<"—————————————"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—       4.             —"<<endl;
    cout<<"—     游戏             —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—————————————"<<endl;
    cout<<"—————————————"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—       5.             —"<<endl;
    cout<<"—     OS搜索           —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—                      —"<<endl;
    cout<<"—————————————"<<endl;
    if(xmsx==1){
        mz="熊猫烧香"; 
    }
    cout<<"使用者:"<<mz<<endl; 
    cout<<"想干什么(输入序号)"<<endl;  
    int sr;
    cin>>sr;
    if(sr>5){
        cout<<"别捣乱!";
        Sleep(300);
        continue;
        system("cls");
    }else if(sr==1){
        system("cls");
        if(xmsx==1){
            cout<<"1.熊猫烧香,2.熊猫烧香,3.熊猫烧香,4.熊猫烧香,5.熊猫烧香,6.熊猫烧香。"<<endl;
        }else{
            cout<<"1.左键c盘,2.右键c盘,3.左键d盘,4.右键d盘,5.熊猫烧香,6.主机。"<<endl;
        } 
        int cdnxz;
        cin>>cdnxz;
        if(cdnxz==1&&c==0){
            MessageBox(NULL,"进入c盘","追梦者OS",MB_OK); 
            MessageBox(NULL,"1.小说软件","追梦者OS",MB_OK);    
        }else if(cdnxz==2&&c==0){
            MessageBox(NULL,"进入c盘","追梦者OS",MB_OK); 
            MessageBox(NULL,"0.退出,1.删除","追梦者OS",MB_OK);
            int sp;
            cin>>sp;
            if(sp==0){
                continue;
            }else{
                if(sp==1){
                    c=1;
                }
            }
        }else if(cdnxz==3&&d==0){
            MessageBox(NULL,"进入d盘","追梦者OS",MB_OK); 
            MessageBox(NULL,"1.OS搜索,2.游戏","追梦者OS",MB_OK); 
        }else if(cdnxz==4&&d==0){
            MessageBox(NULL,"进入d盘","追梦者OS",MB_OK); 
            MessageBox(NULL,"0.退出,1.删除","追梦者OS",MB_OK);
            int sp;
            cin>>sp;
            if(sp==0){
                continue;
            }else{
                if(sp==1){
                    d=1;
                }
            }
        }else if(cdnxz==5){
            MessageBox(NULL,"警告!此文件含有病毒!","追梦者OS",MB_OK); 
            MessageBox(NULL,"是否进入?1.是,2.否","追梦者OS",MB_OK); 
            int mdr;
            cin>>mdr;
            if(mdr==2){
                continue;
            }else{
                cout<<"asckljjwhasbkK>SJKASCBDBCAHKBJ,xhkascbjklascjbkjsbcakjsbcjksaibdcskhvewugsbchsjklaacsiugbuaydcsvajkcghdyus";
                cout<<"asckljjwhasbkK>SJKASCBDBCAHKBJ,xhkascbjklascjbkjsbcakjsbcjksaibdcskhvewugsbchsjklaacsiugbuaydcsvajkcghdyus";
                cout<<"asckljjwhasbkK>SJKASCBDBCAHKBJ,xhkascbjklascjbkjsbcakjsbcjksaibdcskhvewugsbchsjklaacsiugbuaydcsvajkcghdyus";
                cout<<"asckljjwhasbkK>SJKASCBDBCAHKBJ,xhkascbjklascjbkjsbcakjsbcjksaibdcskhvewugsbchsjklaacsiugbuaydcsvajkcghdyus";
                cout<<"asckljjwhasbkK>SJKASCBDBCAHKBJ,xhkascbjklascjbkjsbcakjsbcjksaibdcskhvewugsbchsjklaacsiugbuaydcsvajkcghdyus";
                cout<<"asckljjwhasbkK>SJKASCBDBCAHKBJ,xhkascbjklascjbkjsbcakjsbcjksaibdcskhvewugsbchsjklaacsiugbuaydcsvajkcghdyus";
                cout<<"asckljjwhasbkK>SJKASCBDBCAHKBJ,xhkascbjklascjbkjsbcakjsbcjksaibdcskhvewugsbchsjklaacsiugbuaydcsvajkcghdyus";
                cout<<"asckljjwhasbkK>SJKASCBDBCAHKBJ,xhkascbjklascjbkjsbcakjsbcjksaibdcskhvewugsbchsjklaacsiugbuaydcsvajkcghdyus";
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK);
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK);
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"错误!","熊猫烧香",MB_OK); 
                MessageBox(NULL,"强制删除d盘","熊猫烧香",MB_OK); 
                c=1;
                MessageBox(NULL,"强制删除c盘","熊猫烧香",MB_OK); 
                d=1;
                MessageBox(NULL,"强制更改数据","熊猫烧香",MB_OK);
                z=1; 
                xmsx=1;
            }
        }else if(cdnxz==6&&z==0){
            MessageBox(NULL,"容量%64","追梦者OS",MB_OK);
        }else{
            cout<<"已被删除!";
            Sleep(500);
            continue;
        }
    }   
} 

    return 0;
}

第一部分更完了(内涵彩蛋)


0
1
0
我要回答