- #include <iostream.h>
- #include <time.h>
- #include <conio.h> //pour kbhit
-
-
-
- void main()
- {
-
- time_t H;
-
-
-
-
- while(!kbhit()){
-
-
- time(&H);
- cout<<"\r"<<(ctime(&H));}
- }
-
#include <iostream.h>
#include <time.h>
#include <conio.h> //pour kbhit
void main()
{
time_t H;
while(!kbhit()){
time(&H);
cout<<"\r"<<(ctime(&H));}
}