Click here to Skip to main content
15,848,157 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Catching OnMouseMove on CGridCtrl Pin
_Flaviu9-Nov-14 21:44
_Flaviu9-Nov-14 21:44 
QuestionGetting Quotes on Call Options and Put Options Pin
BobInNJ6-Nov-14 9:35
BobInNJ6-Nov-14 9:35 
AnswerRe: Getting Quotes on Call Options and Put Options Pin
ZurdoDev6-Nov-14 11:18
professionalZurdoDev6-Nov-14 11:18 
GeneralRe: Getting Quotes on Call Options and Put Options Pin
BobInNJ6-Nov-14 12:36
BobInNJ6-Nov-14 12:36 
AnswerRe: Getting Quotes on Call Options and Put Options Pin
Richard Andrew x646-Nov-14 12:43
professionalRichard Andrew x646-Nov-14 12:43 
AnswerRe: Getting Quotes on Call Options and Put Options Pin
jschell6-Nov-14 14:29
jschell6-Nov-14 14:29 
AnswerRe: Getting Quotes on Call Options and Put Options Pin
Richard MacCutchan6-Nov-14 23:13
mveRichard MacCutchan6-Nov-14 23:13 
Questionhow to free memory space for 2 dimension ? Pin
mybm15-Nov-14 19:18
mybm15-Nov-14 19:18 
float **deviation1;
deviation1=memory_alloc_2D(waveframesize,NUM_OF_COEFFICIENTS);


for(i=0;i<waveframesize;i++)

{
  for(j=0;j<NUM_OF_COEFFICIENTS;j++)
    {
 deviation1[i][j]=w1[i][j];      
  //deviation1[i][j]=w1[i][j]-mean1[0][j];
  // printf("%f\t",deviation1[i][j]);         
    }
// printf("\n");
}
freeArray(deviation1,waveframesize);
void freeArray(float **a, int m) {
    int i;
    for (i = 0; i < m; ++i) {
        free(a[i]);
    }
    free(a);
}


I am trying to free the memory space of deviation but it seem not working cause the process is killed and while checking the running process for every loop the memory size is incremented..can someone suggest where i wen wrong?
SuggestionRe: how to free memory space for 2 dimension ? Pin
Jochen Arndt5-Nov-14 22:13
professionalJochen Arndt5-Nov-14 22:13 
Question32 bits processor and single bit bitmap Pin
Vaclav_5-Nov-14 7:10
Vaclav_5-Nov-14 7:10 
AnswerRe: 32 bits processor and single bit bitmap Pin
Albert Holguin5-Nov-14 9:38
professionalAlbert Holguin5-Nov-14 9:38 
AnswerRe: 32 bits processor and single bit bitmap Pin
Richard MacCutchan5-Nov-14 23:20
mveRichard MacCutchan5-Nov-14 23:20 
GeneralRe: 32 bits processor and single bit bitmap Pin
Albert Holguin6-Nov-14 5:42
professionalAlbert Holguin6-Nov-14 5:42 
GeneralRe: 32 bits processor and single bit bitmap Pin
Richard MacCutchan6-Nov-14 8:16
mveRichard MacCutchan6-Nov-14 8:16 
QuestionDLL for communication class Pin
Drugodrf4-Nov-14 8:56
Drugodrf4-Nov-14 8:56 
AnswerRe: DLL for communication class Pin
Derek Tortonian6-Nov-14 10:35
Derek Tortonian6-Nov-14 10:35 
AnswerRe: DLL for communication class Pin
Orjan Westin6-Nov-14 23:58
professionalOrjan Westin6-Nov-14 23:58 
GeneralRe: DLL for communication class Pin
Drugodrf7-Nov-14 4:02
Drugodrf7-Nov-14 4:02 
Questionpatience sort project Pin
Member 109981454-Nov-14 6:42
Member 109981454-Nov-14 6:42 
AnswerRe: patience sort project Pin
Richard MacCutchan4-Nov-14 6:44
mveRichard MacCutchan4-Nov-14 6:44 
AnswerRe: patience sort project Pin
jeron14-Nov-14 6:45
jeron14-Nov-14 6:45 
GeneralRe: patience sort project Pin
PIEBALDconsult4-Nov-14 7:22
mvePIEBALDconsult4-Nov-14 7:22 
GeneralRe: patience sort project Pin
ZurdoDev4-Nov-14 7:24
professionalZurdoDev4-Nov-14 7:24 
GeneralRe: patience sort project Pin
PIEBALDconsult4-Nov-14 7:26
mvePIEBALDconsult4-Nov-14 7:26 
GeneralRe: patience sort project Pin
Snorri Kristjansson10-Nov-14 23:35
professionalSnorri Kristjansson10-Nov-14 23:35 

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.