|  | Posted by Erwin Moller on 03/01/07 18:16 
Oliver Grätz wrote:
 > denisbytezone@gmail.com schrieb:
 >> The first problem I still see as a problem however. Why can't it just
 >> compare the two memory addresses of the two objects and say "both
 >> objects are at the same location, therefore they are equal", instead
 >> of trying to traverse the data structures?
 >
 > I already told you that the "===" is meant for such comparisons and that
 > "==" is for totally different applications. And please try to forget
 > about memory locations. If you think about them again, then please ask
 > yourself why you didn't also think about manually freeing up the memory
 > at the end of your program ;-)
 
 Yeah!
 Back to malloc() memoryleaks.
 Thoose were the days!
 ;-)
 
 Regards,
 Erwin Moller
 
 >
 > OLLi
 >
 > ____________
 > "Honey, the marriage counseling might not work out. You need to get used
 > to bad cooking."
 > [Bree on Desperate Housewives 105]
  Navigation: [Reply to this message] |