0

how can i get index of inserted number in 2d array

10th Feb 2022, 7:32 PM
Nicholas Tsuoa
Nicholas Tsuoa - avatar
2 Réponses
+ 1
You need to search the inserted number in the whole array, wheather it was one dimensional or two dimensional array.
10th Feb 2022, 9:26 PM
Mohammed
0
At insertion? Save the iterator into a temp var. Or std::find if its a container.
11th Feb 2022, 9:14 AM
István