跳到正文

个人记录

V.0.1

逸少约 3 分钟
原文
文章信息与版本

文章信息

发布
2019年12月25日
收录
2025年12月12日
更新
2026年11月11日
篇幅
约 3 分钟

版本

  1. v2当前
  2. v1
C++
#include <bits/stdc++.h>
#include <windows.h>
#include <string.h>
using namespace std;
int boj;
void Slowsay(string a) {
	int l=a.size();
	for(int i=0; i<l; i++) {
		cout<<a[i];
		Sleep(100);
	}
	printf("\n");
}

void trip1() {
	Slowsay("现在你是李光头,你的母亲叫做李兰。你出生那年就没有见到过你的父亲");
	Slowsay("当你问你的母亲关于你的父亲时,她总是低下头默默不语");
	Slowsay("母亲去丝织厂上班了,你一个人走出了家门,在大街上闲逛");
}
void trip2() {

}
void jobchoose(int qwq2) {
	Slowsay("当你选择他的时候,结局基本已经决定了……");
	Slowsay("或许是的,可是谁又会知道呢");
	system("pause");
	boj = qwq2;
	if(boj == 1)
		trip1();
	if(boj == 2)
		trip2();
	if(boj == 3)
		Slowsay("比利海林顿先生卒于2018年3月3日##bad end##");
}
void bookcasee(){
    system("cls");
    cout<<"		请选择角色"<<endl;
    cout<<"||||  ||||  ||||  ||||"<<endl;
    cout<<"|一|  |二|  |三|  |四|"<<endl;
    cout<<"|--|  |--|  |--|  |--|"<<endl;
    cout<<"|李|  |  |  |顾|  |  |"<<endl;
    cout<<"|  |  |  |  |  |  |  |"<<endl;
    cout<<"|  |  |宋|  |  |  |暂|"<<endl;
    cout<<"|光|  |  |  |亦|  |  |"<<endl;
    cout<<"|  |  |  |  |  |  |  |"<<endl;
    cout<<"|  |  |  |  |  |  |  |"<<endl;
    cout<<"|  |  |钢|  |  |  |无|"<<endl;
    cout<<"|头|  |  |  |轩|  |  |"<<endl;
    cout<<"|  |  |  |  |  |  |  |"<<endl;
    cout<<"||||  ||||  ||||  ||||"<<endl;
    cout<<endl;
    int qwq2;
    cin>>qwq2;
    jobchoose(qwq2);
}
start() {
	string password;
	cin >> password;
	if(password == "PASSWORD") {
		Slowsay("-----------------------------------------------------------");
		cout << "100%" << endl;
		bookcasee();
	} else {
		start();
	}
}
int main() {
	Slowsay("欢迎来到《兄弟》");
	Slowsay("PLEASE SAY PASSWORD");
	start();
}
原文