The use of the This pointer in helping students to understand C++ programs soundly

L. Xiaohui, Du Ruiqing
{"title":"The use of the This pointer in helping students to understand C++ programs soundly","authors":"L. Xiaohui, Du Ruiqing","doi":"10.1109/ICEIT.2010.5607597","DOIUrl":null,"url":null,"abstract":"The This pointer is a special pointer, which point the address of an object whose member function is being run. Using the This pointer in teaching C++ programming language is able to help students understanding the process of one object's construction and destruction soundly. It is also helpful in students' understanding the principle of dynamic memory allocation and dynamic memory deallocation. This paper listed several example programs to illustrate how to help students to understand c++ programs soundly.","PeriodicalId":346498,"journal":{"name":"2010 International Conference on Educational and Information Technology","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 International Conference on Educational and Information Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEIT.2010.5607597","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The This pointer is a special pointer, which point the address of an object whose member function is being run. Using the This pointer in teaching C++ programming language is able to help students understanding the process of one object's construction and destruction soundly. It is also helpful in students' understanding the principle of dynamic memory allocation and dynamic memory deallocation. This paper listed several example programs to illustrate how to help students to understand c++ programs soundly.
This指针的使用有助于学生更好地理解c++程序
This指针是一个特殊的指针,指向正在运行其成员函数的对象的地址。在c++程序设计语言教学中使用This指针可以帮助学生更好地理解一个对象的构造和破坏过程。这也有助于学生理解动态内存分配和动态内存释放的原理。本文列举了几个示例程序来说明如何帮助学生更好地理解c++程序。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信