摘要: 1 #include "stdafx.h" 2 #include 3 #include 4 using namespace std; 5 const int MaxNum=9; 6 int iArr[MaxNum];//定义数组 7 void print(int cur,int n); 8 inline void Swap(int *a,int *b)//交换两个位置的值 9 {10 int temp;11 temp=*a;12 *a=*b;13 *b=temp;14 }15 int _tmain(int argc, _TCHAR* argv[])16 {17... 阅读全文
posted @ 2014-01-16 13:28 CrazyCode. 阅读(262) 评论(0) 推荐(0)