analog clock
-
Hi all, can anybody gimme the program with code to create a anolog clock. thanks in advance. Mr.Dayala ThomasKennedyBose
-
Hi all, can anybody gimme the program with code to create a anolog clock. thanks in advance. Mr.Dayala ThomasKennedyBose
search for analog clock in c++ section at http://www.planetsourcecode.com ----------------------------- "I Think It Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
-
Hi all, can anybody gimme the program with code to create a anolog clock. thanks in advance. Mr.Dayala ThomasKennedyBose
Mr Bose Dayala wrote: can anybody gimme the program with code to create a anolog clock. Probably, but nobody will. Why don't you write it yourself and if you run into any problems, ask a question about how to do a particular thing. You're much more likely to get a useful response that way.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
search for analog clock in c++ section at http://www.planetsourcecode.com ----------------------------- "I Think It Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
hi alok, thanks for quick reply..I found it in planetsource bit it is on general C++.I want it in VC++..can help me out?? my problem is with time, otherwise I can manage by wriitng myself. thanks in advance. ThomasKennedyBose
-
hi alok, thanks for quick reply..I found it in planetsource bit it is on general C++.I want it in VC++..can help me out?? my problem is with time, otherwise I can manage by wriitng myself. thanks in advance. ThomasKennedyBose
could you eloborate you problem or mail me at thatsalok@gmail.com ----------------------------- "I Think It Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
-
Hi all, can anybody gimme the program with code to create a anolog clock. thanks in advance. Mr.Dayala ThomasKennedyBose
I found one some months ago here on CP. have you looked here in the articles? besides I don't think it should be so dificult to make. think of what parts a clock consists (circle, lines, pointers,...) All of them are static accept the pointers, the base is static (center of the circle) while the point moves, it moves (for the seconds) 360/60 of the circle every second. The only thing you need to do is to redraw this pointer every second on the right place. Just know your geometry.;) hope this helps... [EDIT] Oh by the way, I did analog meters for a car once, which worked perfectly, the one thing you may want to consider is buffering to reduce flicker. I did it as described above, but I don't have the code anymore :( [/EDIT] "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix