专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
 // bubble.cpp : Defines the entry point for the console application.// #include "stdafx.h"#include"iomanip.h"#include "iostream.h" #define MAXSIZE 100//交换两个元素的值void swap(int &a,int &b){   int temp;   temp = a;   a = b;   b = temp; [阅读全文] [PDF]
把数组中的n个元素由小到大进行排序 输入:数组的个数n,数组A【】 输出:按递增顺序排序的数组A【】 // bubble.cpp : Defines the entry point for the console application.// #include "stdafx.h"#include"iomanip.h"#include "iostream.h" #define MAXSIZE 100//交换两个元素的值void swap(int &a,int &b){   int temp [阅读全文] [PDF]
1 共2条 分1页