0
how can i get index of inserted number in 2d array
2 odpowiedzi
+ 1
You need to search the inserted number in the whole array, wheather it was one dimensional or two dimensional array.
0
At insertion? Save the iterator into a temp var. Or std::find if its a container.