Skip to Main Content
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.
Educational and Information Technology (ICEIT), 2010 International Conference on (Volume:2 )
Date of Conference: 17-19 Sept. 2010