Download MetaTrader 5
To add comments, please log in or register
Sell your CPU capacity and earn money!
Arnab Karmakar
129
Arnab Karmakar 2010.07.01 00:48 
      CArrayDouble *in[], *out[];
      CArrayDouble *inTest[], *outTest[];
      ArrayResize(in, ArraySize(dataArr));
      ArrayResize(out, ArraySize(dataArr));
      for(int i = 0 ; i < ArraySize(dataArr); i++) {
         for(int j = 0 ; j < 9; j++) {
            in[i].Add(dataArr[i][j]);       
         }
         out[i].Add(dataArr[i][9]);       
      }


Can anybody guide me why I am getting Invalid pointer access error at

in[i].Add(dataArr[i][j]);

and

out[i].Add(dataArr[i][9]);


Thanks

Arnab

Documentation on MQL5: MQL5 programs / Runtime Errors
  • www.mql5.com
MQL5 programs / Runtime Errors - Documentation on MQL5
Rashid Umarov
Admin
11557
Rashid Umarov 2010.07.01 09:47  
/
To add comments, please log in or register