C#交流俱乐部

学习为主,互相帮助

博客园 首页 新随笔 联系 订阅 管理

2013年1月5日 #

摘要: #include <iostream>#include <cstring> //#define BYTE char//传递引用void swapr(int & a,int & b);//传递指针void swapp(int * a,int * b);//按值传递void swapv(int a,int b); int main() { using namespace std; int a=3,b=4; swapr(a,b); cout <<a <<"|" <<b<<endl; swapp 阅读全文
posted @ 2013-01-05 14:51 bluce chen 阅读(488) 评论(0) 推荐(0) 编辑