Is there a way to ensure that all un-initialized pointers automatically have the address 0x00000000? Sometimes they're being set to other addresses but still being unitialized, and they pass tests like if(!ptr), causing an unhandled access violation error.
tomtetlaw -1 Posting Pro
gerard4143 371 Nearly a Posting Maven
tomtetlaw -1 Posting Pro
Narue 5,707 Bad Cop Team Colleague
tomtetlaw -1 Posting Pro
Narue 5,707 Bad Cop Team Colleague
tomtetlaw -1 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.