copy the whole row or column whithou loop

Hi there,

how can I copy one whole row of an array to another array. Is it possible without loop?

In Fortran or Matlab: array(:, j) means the column "j" and "all" rows. but i can not find any command like this for c++.

Thanks,
Amir
I suppose you mean matrix. Take a look at the STL copy algorithm
Topic archived. No new replies allowed.