callback for each for loop iteration

Posted by SWKK on Stack Overflow See other posts from Stack Overflow or by SWKK
Published on 2010-05-17T17:20:28Z Indexed on 2010/05/17 17:40 UTC
Read the original article Hit count: 168

Filed under:

Hi Guys,

a bit of a naive question, but nonetheless. I am trying to break up a for loop in which a 2d Matrix is being read. I would like to write a callback function to consume row-wise/col-wise chunks per row/col iteration. Any hints on how to tie up the callback function with iteration?

© Stack Overflow or respective owner

Related posts about c++