|
Boost Users : |
Subject: Re: [Boost-users] 2d array arg, f( int m, int n, int a[m][n] ) with multi_arrays ?
From: Anton Daneyko (self_at_[hidden])
Date: 2009-08-10 15:31:37
Could you add some more details to your question. It's not clear at least
for me.
On Mon, Aug 10, 2009 at 6:25 PM, Denis-B <denis-bz-py_at_[hidden]> wrote:
>
> Folks,
> how can I do the following with multi_arrays please ?
>
> void f( int m, int n, int a[m][n] ) // legal C99 ? dunno -- would be
> nice
> {
> ... a[j][k] = ...
> }
> ...
> int *a; // m*n ints, e.g. an image
> f( m, n, a );
>
> thanks, cheers
> -- denis
> --
> View this message in context:
> http://www.nabble.com/2d-array-arg%2C-f%28-int-m%2C-int-n%2C-int-a-m--n--%29-with-multi_arrays---tp24902846p24902846.html
> Sent from the Boost - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net