Click here to Skip to main content
15,884,739 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCaption of Dialog Pin
Thanhnamdo24-Jul-06 18:32
Thanhnamdo24-Jul-06 18:32 
AnswerRe: Caption of Dialog Pin
_AnsHUMAN_ 24-Jul-06 18:40
_AnsHUMAN_ 24-Jul-06 18:40 
AnswerRe: Caption of Dialog Pin
see me24-Jul-06 18:40
see me24-Jul-06 18:40 
AnswerRe: Caption of Dialog Pin
Hamid_RT24-Jul-06 19:53
Hamid_RT24-Jul-06 19:53 
GeneralRe: Caption of Dialog Pin
see me24-Jul-06 20:01
see me24-Jul-06 20:01 
GeneralRe: Caption of Dialog Pin
ThatsAlok25-Jul-06 0:30
ThatsAlok25-Jul-06 0:30 
GeneralRe: Caption of Dialog Pin
Hamid_RT24-Jul-06 20:04
Hamid_RT24-Jul-06 20:04 
Questionmemory free Pin
Try24-Jul-06 18:25
Try24-Jul-06 18:25 
Hello All,
I have freed the memory which was allocated using malloc.
Is there any utility or function in C to check whether the memory is freed or not.

int *a;
a=(int *)malloc(2*sizeof(int));
a[0]=1;
a[1]=2;
free(a);

Even after free function the value of a[0] and a[1] is same (i.e 1 and 2).
I am using Turbo C. I have doubt whether memory is freed.
Thanks in advance.
AnswerRe: memory free Pin
Stephen Hewitt24-Jul-06 19:13
Stephen Hewitt24-Jul-06 19:13 
AnswerRe: memory free Pin
Divyang Mithaiwala24-Jul-06 19:14
Divyang Mithaiwala24-Jul-06 19:14 
GeneralRe: memory free Pin
Stephen Hewitt24-Jul-06 22:18
Stephen Hewitt24-Jul-06 22:18 
QuestionAbout Static Control Pin
Thanhnamdo24-Jul-06 17:58
Thanhnamdo24-Jul-06 17:58 
AnswerRe: About Static Control Pin
Hamid_RT24-Jul-06 18:07
Hamid_RT24-Jul-06 18:07 
GeneralRe: About Static Control Pin
see me24-Jul-06 18:18
see me24-Jul-06 18:18 
GeneralRe: About Static Control Pin
Thanhnamdo24-Jul-06 18:22
Thanhnamdo24-Jul-06 18:22 
GeneralRe: About Static Control Pin
see me24-Jul-06 18:31
see me24-Jul-06 18:31 
GeneralRe: About Static Control Pin
Hamid_RT24-Jul-06 19:52
Hamid_RT24-Jul-06 19:52 
AnswerRe: About Static Control Pin
see me24-Jul-06 18:14
see me24-Jul-06 18:14 
QuestionAbout command line arguments... Pin
simonchen.net24-Jul-06 17:08
simonchen.net24-Jul-06 17:08 
AnswerRe: About command line arguments... Pin
Michael Dunn24-Jul-06 18:43
sitebuilderMichael Dunn24-Jul-06 18:43 
GeneralRe: About command line arguments... Pin
simonchen.net24-Jul-06 19:02
simonchen.net24-Jul-06 19:02 
GeneralRe: About command line arguments... Pin
Michael Dunn24-Jul-06 22:58
sitebuilderMichael Dunn24-Jul-06 22:58 
Question[Noob] Using class pointers [modified] Pin
Lord Kixdemp24-Jul-06 16:59
Lord Kixdemp24-Jul-06 16:59 
AnswerRe: [Noob] Using class pointers [modified] Pin
John M. Drescher24-Jul-06 17:08
John M. Drescher24-Jul-06 17:08 
AnswerRe: [Noob] Using class pointers Pin
bob1697224-Jul-06 17:12
bob1697224-Jul-06 17:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.