#include iostream.h
#include time.h
#include conio.h
class TimeDate {
time_t systime;
public:
TimeDate(time_t t); // constructor
void show();
};
TimeDate::TimeDate(time_t t)
{
systime = t;
}
void TimeDate::show()
{
cout << ctime(&systime);
}
int main()
{
je:
cout << "SIMPLE DIGITAL CLOCK !!!\n\n";
time_t x;
x = time(NULL);
TimeDate ob(x);
ob.show();
cout << "\nPRESS ENTER TO RELOAD !!!";
getche();
clrscr();
goto je;
getche();
}
SEARCH
LATEST
3-latest-65px
Pengunjung
Categories
Refensi
(30)
Assistant of Laboratory
(18)
Linux
(13)
Keamanan Jaringan
(12)
bitcoin
(10)
Tip dan trik
(9)
Toko
(6)
Umsida
(6)
CCNA
(5)
C++
(4)
Driver
(3)
Materi
(3)
Rasberry Pi
(3)
Hardware
(2)
Uang
(2)
hadist
(2)
Kata-Kata
(1)
Keygen
(1)
Konfrimasi
(1)
adsense
(1)
mining
(1)
proxy
(1)
ranni
(1)