马牛不是人

学姐说:“学习学习不后退”

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

随笔分类 -  ACM|C|C++

Pure Program
摘要:用无序链表实现字典ADT 阅读全文
posted @ 2006-06-22 21:23 马牛 阅读(1085) 评论(0) 推荐(0)

摘要://insort function//插入法排序//n是元素个数template void insort ( Elem A[], int n ){ for ( int i = 1; i 0) && ( A[j] void selsort (Elem A[],int n){ for( int i = 0 ; i A[j] ) minIndex = j; } ... 阅读全文
posted @ 2006-04-23 12:10 马牛 阅读(285) 评论(0) 推荐(0)

摘要:// uuu.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]){ cout应该放在#include "stdafx.h"之后,要不会出错:错误 1 error C2871: “std”: 具有该名称的命名... 阅读全文
posted @ 2006-04-20 22:24 马牛 阅读(545) 评论(0) 推荐(0)