aboutsummaryrefslogtreecommitdiffstats
path: root/2048 Game/random.cpp
blob: 1587cb0401f200d322d71ffbbd89130b82757945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* 
* @Author: yannherklotz
* @Date:   2016-02-01 17:47:47
* @Last Modified by:   yannherklotz
* @Last Modified time: 2016-02-04 15:08:05
*/

#include <iostream>
#include <cstdlib>
#include <ctime>

using namespace std;

int main(){
	srand(time(NULL));
	cout << rand() % 1000 << endl;
	cout << rand() % 1000 << endl;
	cout << rand() % 1000 << endl;
	cout << rand() % 1000 << endl;
	cout << rand() % 1000 << endl;
	cout << rand() % 1000 << endl;
	cout << rand() % 1000 << endl;
    return 0;
}