2019 Spring 3rd curriculum design laboratory assignments

2019 Spring 3rd curriculum design experiments to arrange
a real-time clocks
Second, the experimental functional description:
by the rotation of the second hand, the minute hand is driven to rotate, and then with the rotation of the hour hand. We watch is associated with us accurate time, that this is a more accurate point in time, and is very easy, of course, turn around second hand, minute hand moving about, turn around, and the minute hand, the hour hand move what, it is used to calculate the angle, and an end lap end point and starting point of the settlement are based on the angle.

Third, the project description
1. Draw static seconds

  1. Rotation of the second hand
  2. The actual time the rotation
    4. Add the hour and minute hands
    5. Add dial scale

Fourth, implement the interface display

V. code hosting links
https://gitee.com/luo3090306768/git-hub/tree/master
six experiments summarized
the problem: the code is correct but does not run out of
solutions: Baidu search to get the source code, to find different compared with point, correct the error, recording error,
after you re-run the code to play until the result is correct
thoughts:
C language games is still quite interesting, because it is interesting to write out endless code.
In fact, we make a series out game is still very difficult, but fortunately I have written teams
alleviate a lot, let me thank the members of the group.
This stage was learned by the C language in the actual application, and
learned quite useless. But I also strengthening
learning, at least not fall behind with the old people, I understand is really understand.
Recalling previous knowledge points, while contact with the new knowledge, enhance memory.

Guess you like

Origin www.cnblogs.com/luoyuliang/p/10987826.html