Can some one tell me how do i display real time in c++. what i mean is that while the program is running you can see the seconds and or minutes counting down like a real clock h
Add a system("cls");
system("cls");
Like this:
time_t rawtime; struct tm* timeinfo; while(true) { system("cls"); time(&rawtime); timeinfo=localtime(&rawtime); cout<<"Time : "<