对引用和指针使用以及函数返回引用和指针类型的理解
摘要: 引用的符号是&,指针的符号是* 先来看看一段测试代码, 1: #include "stdafx.h" 2: #include <iostream> 3: using namespace std; 4: int globalJ =999; 5: 6: //返回值 7: int test1() 8: { 9: int j =1; 10: cout<<"in test1...阅读全文
posted @ 2009-08-07 15:11 ASTAR Coming Now 阅读(423) | 评论 (0) 编辑
