Stray pointers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I was thinking about some problems involving programs written in c/c++ and
I don't realize why the compilers don't initialize every created pointer
to zero. Deleted pointers also are not automaticaly reassigned to zero
resulting in stray or dangling pointers (if the programmer do not take
care), and finally in possible crashes. Why this lack? Performance?
Thanks in advance,

Bruno A. Costa



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux