OK, why does this crash?
#include <iostream>
#include <time.h>
#include <conio.h>
#include <windows.h>
using namespace std;
int main()
{
time_t hold_t[500];
for(long x=0; x <=500; x++)
hold_t[x] = time(NULL);
bool ACTIVE = true;
while(ACTIVE)
{
cout << "\nThe time is " << hold_t << endl;
system("CLS");
if(x > 500)
ACTIVE = false;
}
return 0;
}