文件名称:haidaofenjin_CSharp
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 49kb
- 下载次数:
- 0次
- 提 供 者:
- l***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
昨天整理移动硬盘,竟然翻出了五年前的小程序源码。记得当时是在中国人民大学边上的一个小公园里花了一个上午想出来的方案(手稿程序),又用了一个小时的时间编写并调试通过的。这是一个面向对象编程方法的经典示例,虽然现在看起来,有些地方还不够完美(比如,不用泛型,而采用了强制类型转换),但也够一些小兄弟们参考学习之用了。不做修改的发上来,原汁原味地呈现给大家,希望引起大家对“面向对象”的思考。
谁说面向对象已死?你看看用面向对象是怎么解决复杂问题的?
这里所说的复杂问题是指一个很古老的问题——海盗分金问题。
-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
....\App.ico
....\AssemblyInfo.cs
....\bin
....\...\Debug
....\...\.....\test.exe
....\...\.....\test.pdb
....\MainForm.cs
....\MainForm.resx
....\obj
....\...\Debug
....\...\.....\temp
....\...\.....\TempPE
....\...\.....\test.exe
....\...\.....\test.MainForm.resources
....\...\.....\test.pdb
....\...\.....\test.projdata
....\...\.....\test.projdata1
....\Parm.cs
....\Pirate.cs
....\test.csproj
....\test.csproj.user
....\test.sln
....\test.suo
....\海盗分金币.mht
重要说明.doc
....\App.ico
....\AssemblyInfo.cs
....\bin
....\...\Debug
....\...\.....\test.exe
....\...\.....\test.pdb
....\MainForm.cs
....\MainForm.resx
....\obj
....\...\Debug
....\...\.....\temp
....\...\.....\TempPE
....\...\.....\test.exe
....\...\.....\test.MainForm.resources
....\...\.....\test.pdb
....\...\.....\test.projdata
....\...\.....\test.projdata1
....\Parm.cs
....\Pirate.cs
....\test.csproj
....\test.csproj.user
....\test.sln
....\test.suo
....\海盗分金币.mht
重要说明.doc