老钟古

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2010年9月24日

摘要: 直接插入排序实现(by C++)代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<iostream>2usingnamespacestd;34/*5InsertSort::InsertSort(vector<in... 阅读全文
posted @ 2010-09-24 21:54 老钟古 阅读(202) 评论(0) 推荐(0) 编辑

摘要: 由汇编代码我们可以清楚的看到,C++中的函数重载对于非对象的重载基本上是一样的,只是在调用的时候采用不同的名称实现(VC++ 6.0实现)程序的代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<iostream>... 阅读全文
posted @ 2010-09-24 20:07 老钟古 阅读(298) 评论(0) 推荐(0) 编辑