- 3
- 0
- 约5.86千字
- 约 11页
- 2019-06-11 发布于广东
- 举报
C++指针和引用的使用浅谈
The essence and soul of C lan guage is 〃po in ter, but it is easier to make mistakes when using it. C++ introduces the concept of reference〃? Many people don,t understand the difference between them. I will give some examples of programming and explain the differences between them in the light of my own experienee.
A. Common variable storage
Before we introduce pointers, lets look at the way ordinary variables are stored in the system? See the following procedure?
Void main (void)
Int ia = 12;
Int IB = 45;
Lout ia: ia , la: , ia , endl ;
Cout 〃ib:〃〃ib〃, 〃Ib:〃, 〃IB〃, 〃endl〃;
Retu
您可能关注的文档
最近下载
- 2026正高卫生职称-医学中医类-中医皮肤与性病学(正高)[代码:079]历年参考题库含答案详解2套卷.docx VIP
- 蛛网膜下腔出血的急诊处理.pptx VIP
- 酒吧突发事件应急预案.docx VIP
- T∕CANSI 20001-2026 船舶与海洋工程结构起重吊耳技术规范.pdf VIP
- ISO 6149标准中文版详细解读.docx VIP
- 10G521-12钢檩条-钢墙梁(替代05SG521-1~4)2010年合订本(OCR)-建筑规范、标准、图集.docx VIP
- 消防应急演练资料.docx VIP
- 追求理解的教学设计读书心得.pptx VIP
- 2026年秋季新教材统编版九年级上册道德与法治全册知识点背诵提纲.pdf
- 招聘面试评估标准培训.pptx VIP
原创力文档

文档评论(0)