摘要: #include <iostream>using namespace std;void Invert(char arr[],int &i,char str[]) { if(arr[i]=='\0') return; else { str[i]=arr[i]; i++; Invert(arr,i,st 阅读全文
posted @ 2017-05-01 11:27 可馨517 阅读(778) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;void fun(int x=3,int y=5,int z=7){ cout<<"x="<<x<<",y="<<y<<",z="<<z<<endl;}int main(){ fun(1,2,3); fun(1,2); fu 阅读全文
posted @ 2017-05-01 11:25 可馨517 阅读(224) 评论(0) 推荐(0)