20 years, 3 months ago
Highlights
Unfortunately, using a reference isn't really compatible with what I'm doing. Nor are smart pointers. It seems that an allocation/deletion map is the only way to go.Thanks…
20 years, 3 months ago
20 years, 3 months ago
Is there a way to check to see if the memory a pointer points at has been deleted? e.g.: int* a = new int(5); int* b = a; delete a; (*b)++; // Causes crash! Is there any way to…
20 years, 3 months ago
Yes, that error. I've been driven to distraction trying to figure this out. I've been working on an SDL-based game, built with Visual C++ 2005 Express. I am generating a ma…
20 years, 3 months ago
I've been working on an RTS, written with SDL. I want to show the player colors on the units, as it is traditionally done in games (colored shoulderpands, pennants, et…
20 years, 8 months ago
Latest Activity
See all in DiscussionsUnfortunately, using a reference isn't really compatible with what I'm doing. Nor are smart pointers. It seems that an allocation/deletion …
20 years, 3 months ago
Is there a way to check to see if the memory a pointer points at has been deleted? e.g.: int* …
20 years, 3 months ago
Yes, I am using the multi-threaded DLL linking option (not debug DLL). And all of the libraries I'm linking to …
20 years, 3 months ago