@GatorGirl/

testing delete

C++11

No description

fork
loading
Files
  • main.cpp
main.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
#include <ctime> 
#include <iostream> 
#include <random>
using namespace std; 

int Random(int min, int max)
{
	return rand() % max;
}

int main() 
{ 
  for (int i = 0; i < 20; i ++) //1-4
  {
    cout << Random(2, 4) << endl;
  }
  //cout << Random(1, 4) << endl;
  
  /*
  time_t t = time(0); // get time now 
  struct tm * now = localtime( & t ); 
  cout << (now->tm_year + 1900) << '-' << (now->tm_mon + 1) << '-' << now->tm_mday << endl; 
  */
}