摘要: #include using namespace std; int main(){ //C++当中字符数组赋值,''单引号中不能为空 char talk[10]={'G','o',' ','p','a','l','y','e','r','!'}; for(int i=0;i using namespace std; int main(){ //C++当... 阅读全文
posted @ 2017-11-27 11:52 TOTO2 阅读(167) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; void select_sort(int array[],int n){ int i,j,k,t; for(i=0;i<n-1;i++){ k=i; for(j=i+1;j<n;j++){ if(array[j]<ar 阅读全文
posted @ 2017-11-27 11:37 TOTO2 阅读(5167) 评论(0) 推荐(0) 编辑