-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerator.cpp
More file actions
49 lines (45 loc) · 739 Bytes
/
generator.cpp
File metadata and controls
49 lines (45 loc) · 739 Bytes
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
#include<iostream>
#include<fstream>
using namespace std;
ofstream fout("D:\\C++\\dataclo.txt");
//Uncomment the main function you want to use
//int main()
//{
// int x;
// for(long i=1;i<=10000;i++)
// {
// x = rand()%11;
// fout<<x<<" ";
// }
// fout.close();
// return 0;
//}
//int main()
//{
// for(int i=10000;i>=0;i--)
// {
// fout<<i<<" ";
// }
// fout.close();
// return 0;
//}
//int main()
//{
// int x;
// for(long i=1;i<=100000;i++)
// {
// x = rand();
// fout<<x<<" ";
// }
// fout.close();
// return 0;
//}
//int main()
//{
// for(int i=0;i<=10000;i++)
// {
// fout<<i<<" ";
// }
// fout.close();
// return 0;
//}