20 years, 3 months ago
Highlights
20 years, 3 months ago
20 years, 3 months ago
I'm a programming intern who was fixing memory leaks earlier today. A senior programmer was helping me debug some corruption issues when I noticed he wrote a "delete" line for a…
20 years, 3 months ago
The void pointers really bug me too. I don't know why they're void pointers. The type is always known. I guess maybe someone wanted to plan ahead and allow arbitrary types to be…
20 years, 3 months ago
What I thought the problem WOULD be, is that calling delete on a void pointer deletes a seemingly unknown amount of data. I was taught that new [] and delete [] should be u…
20 years, 3 months ago
Latest Activity
See all in DiscussionsThe void pointers really bug me too. I don't know why they're void pointers. The type is always known. I …
20 years, 3 months ago
What I thought the problem WOULD be, is that calling delete on a void pointer deletes a seemingly unknown amount …
20 years, 3 months ago
Wow, I didn't know that. I normally don't use void pointers, but it's not my code I'm debugging -_-.Thanks for …
20 years, 3 months ago