2008年10月25日
摘要: 指针是保存内存地址的变量 定义指针 unsigned short int age; unsigned short int yourage; int *age=&age; yourage=*age; 1 指针的用途 (1)处理自由存储区的数据。 (2)访问类的成员数据和函数。 (3)通过引用的方式向函数传递变量。 2 处理自由存储区的数据 使用关键字new分配自由存储区中的... 阅读全文
posted @ 2008-10-25 01:02 清水湾 阅读(236) 评论(0) 推荐(0)