This code does not work
#include <iostream>
#include <time.h>
#include <conio.h>
using namespace std;
int main()
{
time_t hold_t;
hold_t = time(NULL);
for(; ; )
{
cout << "\nThe time is " << hold_t << endl;
clrscr();
}
return 0;
}
it says clrscr(); is an undeclared identifier. This simple console application should work fine, but I dont' knwo why it doenst.