March 16th, 2012, 02:57 AM
Hi guys its been a while i just wanna ask if you have any idea why this code leaking. The below code is just a sample representation on how it works in one of the parts of my actual program that...
February 20th, 2012, 06:45 PM
I agree there are so many inconsistency in your code
char getname();
void setname();
char getcourse();
void setcourse();
int getid();
February 19th, 2012, 06:51 PM
Hi it seems in your code you had conflicting idea ... you declare arr1 and arr2 as interger pointer you should allocated them something like this outside the loop ..
int *arr1, *arr2;
arr1...
February 18th, 2012, 09:06 AM
Thanks Victor but I already know how to manage and how to solved memory leak the point is this memory leak is a bit tricky and new to me because every time it reported the allocation number is...
February 17th, 2012, 05:57 PM
Hi guys i have a memory leak in my program which the memory allocation number is increasing by one everytime its reported. I wanted to put a break point on it but I'm wondering if that allocation...
February 16th, 2012, 08:38 PM
"because it's global and the leak checker runs before globals are deconstructed"
Thanks Lindley i think you are right. As I said I already found a solution of this problem and it actually removed...
February 16th, 2012, 07:49 PM
Thanks for your reply paul im sorry i missed to reply both of ur email...
- Yha i agree definitely if you can use object why pointers.
- as i said the elements that added in vector<Button*>...
February 16th, 2012, 10:15 AM
Thanks for the reply
- Sorry for the confusion ... its a typo its supposed to be btnExitButton.SetupButton(). This is the function to be called to setup all the properties of the button and add...
February 15th, 2012, 11:21 AM
Hi guys I'm new here and I'm very thankful because this forum helps me a lot to answer some question in mind when it comes c++ codes.
I need your suggestions on my leak problem in the game that...
February 15th, 2012, 11:06 AM
Hi guys i have a memory leak in my program which the memory allocation number is increasing by one everytime its reported. I wanted to put a break point on it but I'm wondering if that allocation...