The new Release 20.03 is out! You can download binaries for Windows and many major Linux distros here .
#include <time>
fatal error: time: No such file or directory
//casting of a hexahedral bone 6000 times#include <iostream>#include <iomanip>#include <stdlib>#include <time>using namespace std;int main(){ const int arraySize = 7; int face, frequency[arraySize] = {0}; srand(time(NULL)); for (int roll = 1; roll <= 6000; roll++) { face = rand() % 6 + 1; ++frequency[face]; } cout << "Gran" << setw(17) << "Chastota" << endl; for (face = 1; face <= arraySize; face++) cout << setw(4) << face << setw(17) << frequency[face] << endl; return 0;}
If you want time.h then tell the compiler to include it using #include <time.h>!