摘要: // BinarySearch.cpp : Defines the entry point for the console application.// #include "stdafx.h"#include <iostream>using namespace std; int BinarySearch(int a[],int s,int e,int value){ int min... 阅读全文
posted @ 2010-07-21 20:24 gracestoney 阅读(69) 评论(0) 推荐(0) 编辑
摘要: // BubbleSort_Cplusplus.cpp : Defines the entry point for the console application.// #include "stdafx.h"#include <iostream>using namespace std; void sort(int a[],int length) { int j=0; int i=0... 阅读全文
posted @ 2010-07-21 17:36 gracestoney 阅读(79) 评论(0) 推荐(0) 编辑