[COLOR=red]#include <Windows.h>[/COLOR]
[COLOR=red]#include <stdio.h>[/COLOR]
[COLOR=red]#include <iostream>[/COLOR]
[COLOR=red]#include <string>[/COLOR]
[COLOR=red]using namespace std;[/COLOR]
[COLOR=red]int main(){[/COLOR]
[COLOR=red]SYSTEMTIME st;[/COLOR]
[COLOR=red]GetSystemTime(&st);[/COLOR]
[COLOR=red]system("color a");[/COLOR]
[COLOR=red]int yil=st.wYear;[/COLOR]
[COLOR=red]int ay=st.wMonth;[/COLOR]
[COLOR=red]int gun=st.wDay;[/COLOR]
[COLOR=red]int saat=st.wHour;[/COLOR]
[COLOR=red]int dakika=st.wMinute;[/COLOR]
[COLOR=red]int saniye=st.wSecond;[/COLOR]
[COLOR=red]while(1){[/COLOR]
[COLOR=red]GetSystemTime(&st);[/COLOR]
[COLOR=red]yil=st.wYear;[/COLOR]
[COLOR=red]ay=st.wMonth;[/COLOR]
[COLOR=red]gun=st.wDay;[/COLOR]
[COLOR=red]saat=st.wHour;[/COLOR]
[COLOR=red]dakika=st.wMinute;[/COLOR]
[COLOR=red]saniye=st.wSecond;[/COLOR]
[COLOR=red]cout << "Yıl: " << yil << " - " << "ay: " << ay << " - " << "gun: " << gun << " - " << "saat: " << saat + 3 << " - " << "dakika: " << dakika << " - " << "saniye: " << saniye << endl << endl;[/COLOR]
[COLOR=red]system("cls");[/COLOR]
[COLOR=red]}//while[/COLOR]
[COLOR=red]}// main[/COLOR]