文件名称:haidaofenjin_CSharp
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:48.51kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
昨天整理移动硬盘,竟然翻出了五年前的小程序源码。记得当时是在中国人民大学边上的一个小公园里花了一个上午想出来的方案(手稿程序),又用了一个小时的时间编写并调试通过的。这是一个面向对象编程方法的经典示例,虽然现在看起来,有些地方还不够完美(比如,不用泛型,而采用了强制类型转换),但也够一些小兄弟们参考学习之用了。不做修改的发上来,原汁原味地呈现给大家,希望引起大家对“面向对象”的思考。
谁说面向对象已死?你看看用面向对象是怎么解决复杂问题的?
这里所说的复杂问题是指一个很古老的问题——海盗分金问题。
-Yesterday finishing mobile hard disk, even five years ago, dug out a small program source code. Remember that in the edge of Renmin University of China took a small park came up with a morning program (manuscr ipt program), but also spent an hour writing and debugging passed. This is a classic object-oriented programming example, although it now appears, in some places still are not perfect (eg, not generic, and the use of the cast), but small enough to learn of the brothers used as a reference. Not to modify the hair up, original presented to you, I hope to attract people to the "object-oriented" thinking.
Who said object-oriented dead? Look at how the object-oriented solutions to complex problems?
Complex issues mentioned here is a very old problem- the problem of piracy points Gold。
谁说面向对象已死?你看看用面向对象是怎么解决复杂问题的?
这里所说的复杂问题是指一个很古老的问题——海盗分金问题。
-Yesterday finishing mobile hard disk, even five years ago, dug out a small program source code. Remember that in the edge of Renmin University of China took a small park came up with a morning program (manuscr ipt program), but also spent an hour writing and debugging passed. This is a classic object-oriented programming example, although it now appears, in some places still are not perfect (eg, not generic, and the use of the cast), but small enough to learn of the brothers used as a reference. Not to modify the hair up, original presented to you, I hope to attract people to the "object-oriented" thinking.
Who said object-oriented dead? Look at how the object-oriented solutions to complex problems?
Complex issues mentioned here is a very old problem- the problem of piracy points Gold。
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test
test/App.ico
test/AssemblyInfo.cs
test/bin
test/bin/Debug
test/bin/Debug/test.exe
test/bin/Debug/test.pdb
test/MainForm.cs
test/MainForm.resx
test/obj
test/obj/Debug
test/obj/Debug/temp
test/obj/Debug/TempPE
test/obj/Debug/test.exe
test/obj/Debug/test.MainForm.resources
test/obj/Debug/test.pdb
test/obj/Debug/test.projdata
test/obj/Debug/test.projdata1
test/Parm.cs
test/Pirate.cs
test/test.csproj
test/test.csproj.user
test/test.sln
test/test.suo
test/海盗分金币.mht
重要说明.doc
test/App.ico
test/AssemblyInfo.cs
test/bin
test/bin/Debug
test/bin/Debug/test.exe
test/bin/Debug/test.pdb
test/MainForm.cs
test/MainForm.resx
test/obj
test/obj/Debug
test/obj/Debug/temp
test/obj/Debug/TempPE
test/obj/Debug/test.exe
test/obj/Debug/test.MainForm.resources
test/obj/Debug/test.pdb
test/obj/Debug/test.projdata
test/obj/Debug/test.projdata1
test/Parm.cs
test/Pirate.cs
test/test.csproj
test/test.csproj.user
test/test.sln
test/test.suo
test/海盗分金币.mht
重要说明.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.