摘要: 编制程序,调用传递引用的参数,实现两个字符串变量的交换.例如:ap:"how are you?"bp:"hello" #include "stdafx.h"#include #include #include using namespace std;void swapstring(char * & r1,char * & r2){ char * tmp=r1; r1=r2; r2... 阅读全文
posted @ 2007-04-16 10:47 吴东雷 阅读(531) 评论(0) 推荐(0)