-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_24Cal_main.h
41 lines (28 loc) · 1.33 KB
/
_24Cal_main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef CAL_H
#define CAL_H
#include <iostream>
#include <istream>
#include <sstream>
#include <fstream>
#include <cstdlib>
#include <iomanip>
#include <chrono>
#include <unistd.h>
#include <string>
#include <vector>
using namespace std;
using namespace chrono;
void PrintCard_ (int number, int suit);
void typewriter_ (string line, int speed);
void Show_result (int modechoice, int achievment[5], string name);
int Find_order (char c, string &valid_information, bool &valid_not, bool &finish_not);
int Find_order2 (char c, string &valid_information, bool &valid_not, bool &finish_not);
void Do_Calculation (vector<char> &calculation_operator, int &calculation_operator_length, vector<float> &calculation_number, int &calculation_number_length, char next_operator, string &valid_information, bool &valid_not, bool &finish_not);
string Valid_Checker2 (string calculation_player, bool &valid_not, string &valid_information, int branket_level);
void Valid_Checker1 (string &calculation_player, bool &valid_not, string &valid_information, int frequency[13]);
void PrintNumbers (vector<int> Givennumbers);
void Startgame_ (int num_numbers, int achievment[4], int rounds, int ¤t_streak, int question_bank[18556]);
int Startgame (string playername);
void Printrules ( );
int _24Cal_main (string &playername, int &playerscore);
#endif