Click here to Skip to main content
15,888,281 members

Comments by Grant Curell (Top 2 by date)

Grant Curell 29-Nov-11 10:12am View    
Deleted
Could you explain why? Too be quite honest, I'm not particularly concerned with a low vote, but if there's something wrong with the implementation I'd like to learn from it. Or is it just the sizeof() discrepancy?
Grant Curell 28-Nov-11 15:02pm View    
Deleted
Thanks for catching that bug, coincidentally it still worked due to the way the heap was allocated so I never caught it. I also added the fact that it doesn't behave properly under VS. It seems V C++ treats the sizeof() function differently. Rather than return the size of the array it returns the size of the pointer to the array.