国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

簡易音游底力練習(xí)器源代碼-第一次修改

2021-07-02 12:37 作者:LifeErr0r  | 我要投稿

#include <bits/stdc++.h>

#include <ctime>

#include <conio.h>

using namespace std;


int main() {

cout << "請按照屏幕上的字符\"√\"按下鍵盤按鍵(1:D,2:f,3:J,4:K)\n按任意鍵開始游戲\n";

getch();

system("cls");

int d = 0;

time_t start = time(0);

srand(time(0));

int Miss = 0, Tap = 0, b;

char a[4] = {'d', 'f', 'j', 'k'}, c;

while (time(0) - start < 15) {

b = rand() % 3;

switch (b) {

case 0:

cout << "√ × × ×\n";

break;

case 1:

cout << "× √ × ×\n";

break;

case 2:

cout << "× × √ ×\n";

break;

case 3:

cout << "× × × √\n";

break;

}

c = getch();

if (c == a[b]) {

Tap++;

} else {

d = time(0) - start;

cout << "您擊錯了。\n";

system("cls");

break;

}

system("cls");

}

if (d == 0) {

cout << "擊中:" << Tap << " 耗時約20\"";

} else {

cout << "擊中:" << Tap << " 耗時約" << d << '\"';

}

for (;;) {

}

}


簡易音游底力練習(xí)器源代碼-第一次修改的評論 (共 條)

分享到微博請遵守國家法律
信阳市| 淅川县| 米泉市| 临桂县| 怀化市| 淅川县| 阿克| 边坝县| 玛纳斯县| 比如县| 仁寿县| 鄢陵县| 定西市| 嘉黎县| 赤壁市| 仙游县| 海兴县| 湟源县| 黄梅县| 曲水县| 景东| 远安县| 临猗县| 比如县| 东乌| 菏泽市| 莫力| 房产| 焦作市| 富蕴县| 武陟县| 高要市| 龙州县| 永清县| 密山市| 宣恩县| 琼结县| 桐梓县| 高台县| 襄汾县| 绍兴县|