Delete range from multidimensional array (vector)
Hi All
I hope you are well and safe. Could you please help me to delete an item from a multidimensional array? For example how can I delete the first range of in_matrix below?
----------------------------------------------------------
vector<CArrayInt*> int_matrix;
for(int i=0;i<10;i++){
CArrayInt *int_vector = new CArrayInt();
for(int j=0;j<10;j++){
int_vector.Add(OrderTicket());
}
int_matrix.Add(int_vector);
}
int_matrix.Delete(0); //// DOESN'T WORK
----------------------------------------------------------
Thanks a lot,
Kind Regards,
Abel
- Multidimensional buffer array in MQL4
- Multidimensional on the Second Dimension
- Questions from Beginners MQL5 MT5 MetaTrader 5
Please edit your post and use the code button (Alt+S) when pasting code.
EDIT your original post, please do not just post the code correctly in a new post.