CPP
cpp
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
/*
Author : Thor Westergren
Created : 21 - 01 - 2018
Bugs : Unknown
[Challenge] Random
Modified by : not yet
Version :
https://www.sololearn.com/Discuss/1024458/?ref=app
Thanks to: Gaurav Agrawal for showing
a good comment header
*/
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
//--class declaration & defition in header file
//#ifndef Random_H
//#define Random_H
template <class Ty> class Random
{
public:
//-Constructors & Destructor
Random (){}
Random (int amin);
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run