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
- Questions from Beginners MQL5 MT5 MetaTrader 5
- Multidimensional buffer array in MQL4
- Delete all Objects from all Charts
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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register