Click here to Skip to main content
15,891,943 members

Comments by Y0UR (Top 5 by date)

Y0UR 14-Jun-12 2:47am View    
Thanks for the help, leearnt quite a bit out of it and fixed the leaks/crash

However, what do you mean with - "you're orphaning blocks of memory - you couldn't free R1, even if you wanted to". I actually tried freeing R1-3 and it indeed didnt work, however I still dont really understand why.

Thanks in advance
Y0UR 11-Apr-12 15:24pm View    
That helped, thanks :)
Y0UR 11-Apr-12 11:31am View    
Tried, debug was showing the correct values in the Forge function and no/wrong values in the Insert one.

Adding a

GPA Source =(*this)[n][m];

line, solved the problem, but created another one, now the destructor gets called twice... and the program crashes
Y0UR 10-Apr-12 4:53am View    
Thanks, worked. Didn't know I could use the pointer of "this"
Y0UR 12-Mar-12 9:27am View    
Thanks, very useful link