+ 1

What is this pointer in c++, why we use this pointers. Why c++ not removed pointer it make less secure c++.

30th Nov 2019, 6:34 PM
Jeetu Kumar
Jeetu Kumar - avatar
4 Antworten
+ 6
Pointers give you more control over memory management at the expense of giving programmers more headaches.
30th Nov 2019, 11:40 PM
Sonic
Sonic - avatar
+ 5
By 'this' pointer, did you mean the pointer to the current object?
30th Nov 2019, 11:40 PM
Sonic
Sonic - avatar
+ 1
I think I read that there's a plan to remove raw pointers from C++ in the future.
30th Nov 2019, 8:42 PM
HonFu
HonFu - avatar