摘要:
#include<iostream> #include <cstring> #include <fstream> using namespace std; #define MAXLEN 255 /* n个整数存放在数组中,将正数排在负数前,时间复杂度为O(n) */ void change(int 阅读全文
摘要:
1.从输入到存储时就改变存储的顺序 void InvertStore(char a[]){ char ch; static int i = 0; cin >> ch; if(ch != '.'){ InvertStore(a); a[i++] = ch; } a[i] = '\0'; //结束符 } 阅读全文