Connecting Tech Pros Worldwide Forums | Help | Site Map

association problem

omariqbalnaru@inbox.com
Guest
 
Posts: n/a
#1: Jun 8 '06
i am sending the pointer of an object of a class in the function and
assigning it to another pointer of the same class. When the function
exits the pointer becomes dangling. Can anyone please help me?


Noah Roberts
Guest
 
Posts: n/a
#2: Jun 8 '06

re: association problem



omariqbalnaru@inbox.com wrote:[color=blue]
> i am sending the pointer of an object of a class in the function and
> assigning it to another pointer of the same class. When the function
> exits the pointer becomes dangling. Can anyone please help me?[/color]

http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

Closed Thread