Solved

Smart Pointer

Posted on 2000-04-29
4
267 Views
Last Modified: 2010-04-02
What is a smart pointer in C++ ?
Give an programme for how it can be used ?
0
Comment
Question by:ajaysoni032800
4 Comments
 
LVL 1

Accepted Solution

by:
jbodom earned 20 total points
Comment Utility
0
 
LVL 7

Expert Comment

by:KangaRoo
Comment Utility
A smart pointer in C++ is an object that `behaves' like a pointer (you can dereference it with * and ->), but can also do some smart tricks, like deleting the object it holds when it is no longer needed.
0
 
LVL 1

Expert Comment

by:ntdragon
Comment Utility
what exectlly you want to know
0
 

Author Comment

by:ajaysoni032800
Comment Utility
Comment accepted as answer
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now