English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-03-17 20:05:15 · 6 answers · asked by Anonymous in Computers & Internet Programming & Design

6 answers

Smart pointers are objects that look and feel like pointers, but are smarter. What does this mean?....

http://ootips.org/yonat/4dev/smart-pointers.html

2007-03-17 20:56:10 · answer #1 · answered by abd 5 · 0 0

A smart pointer keeps a refrence to an object that has been dynamically allocated and lets you make copies of the smart pointer in different parts of a program and automatically deallocate the object when the last reference to it disappears, preventing memory leaks without requiring you to keep track of memory manually.

2007-03-17 21:41:51 · answer #2 · answered by phoenixguys4u 1 · 0 0

A smart pointer keeps a refrence to an object that has been dynamically allocated and lets you make copies of the smart pointer in different parts of a program and automatically deallocate the object when the last reference to it disappears, preventing memory leaks without requiring you to keep track of memory manually.

2007-03-17 20:10:01 · answer #3 · answered by undercoloteal 3 · 0 0

seen undemanding (VB) is a programming surroundings from Microsoft in which a programmer makes use of a graphical person interface to pick on and adjust preselected sections of code written in the straightforward programming language. C is a depending, procedural programming language that has been significantly used both for operating structures and applications and that has had a tremendous following in the tutorial community. C++ is an merchandise-oriented programming (OOP) language it truly is seen by ability of many because the finest language for turning out to be tremendous-scale applications. C++ is a superset of the c software language. C# (suggested "C-sharp") is a clean merchandise-oriented programming language from Microsoft, which aims to combine the computing potential of C++ with the programming ease of seen undemanding. C# is in accordance to C++ and includes good factors such as those of Java

2016-12-02 04:10:36 · answer #4 · answered by ? 4 · 0 0

i think people are giving explanation abt *this pointer.........n thats in c++ nt c where objects r created

2007-03-17 20:23:43 · answer #5 · answered by ajaymangla 2 · 0 0

One that deallocates to prevent dangling...

2007-03-17 20:07:40 · answer #6 · answered by ★Greed★ 7 · 0 0

fedest.com, questions and answers