-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.h
65 lines (56 loc) · 1.7 KB
/
global.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
This file is part of RMQG.
RMQG is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
RMQG is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with RMQG. If not, see <http://www.gnu.org/licenses/>.
*/
// Copyright (C) 2011 - 2022 Peter Wright
// Author: Peter Wright
// Random Maths Question Generator (RMQG)
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <time.h>
using namespace std;
#ifndef GLOBAL_H
#define GLOBAL_H
void Casual();
void Challenge();
void Listgen(string Opt1, string Opt2, string Opt3, string Opt4, string Opt5, string Filename);
void Listcheck(string Filename);
void SortLeaderboard();
void SaveLeaderboard();
void LoadLeaderboard();
extern double qnum1;
extern double qnum2;
extern double qnuma1;
extern double qnuma2;
extern double ChallengeLeaderboard[2][3][10];
extern int LeaderboardPosition;
extern int Leaderboard;
extern int SubLeaderboard;
extern int count;
extern int qtype1;
extern int qtype2;
extern int qtypec;
extern int BRangeMin;
extern int BRangeMax;
extern double DRangeMin;
extern double DRangeMax;
extern string qtypecl;
extern char ans1;
extern char ans2;
extern string CLoption1;
extern string CLoption2;
extern string CLoption3;
extern string CLoption4;
extern string CLoption5;
extern string CLoption6;
#endif