Hi to all,
yes of course visual c++ can do it. Just declare a structure of type SYSTEMTIME and call ::GetLocalTime(), as shown below:
...
SYSTEMTIME time;
::GetLocalTime(&time); //here GetLocalTime() fills the structure with the current system time
...
in order to show the time, you should call it repeatedly, for example from calls of WM_TIMER messages (every 500ms)
Hi all, can look over my program? I hv attaching it.
Can the program be improve?
Cos my VC++ standard is very low. But i will go do find some VC book too learn and do research.
I m using a "simple way" to write it only. Cos i hv no idea to write other method.
>.<