最近要学通信了,捎带着复习一下多线程。。。编了个雷电游戏。
[img]http://dl.iteye.com/upload/picture/pic/82559/b0d44473-4b8c-378a-aba0-baebc961e4e1.jpg[/img]
[img]http://dl.iteye.com/upload/picture/pic/82565/63cce1f4-79be-31e7-932e-7755df5c26cc.jpg[/img]
[img]http://dl.iteye.com/upload/picture/pic/82563/cf82987e-9fa2-33f3-9743-877b3b06b81d.jpg[/img][img]http://dl.iteye.com/upload/picture/pic/82561/c0d3bbe8-93eb-375b-860c-4da7063e1aea.jpg[/img]
经过这次复习。深感程序结构是多么的重要。没有清楚的结构程序是编不下去的。
代码见附件