Re: [Dev-C++] Passing a plane of 3-d array in C
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Luis A. G. R. <la...@ho...> - 2008-07-14 17:57:45
|
use this trick
put the 3-d array into a structure like this
typedef struct ARRAY3d{
int ***Data;
};
now it can be easy to pass between functions :)
> Date: Mon, 14 Jul 2008 22:22:53 +0530
> From: pec...@gm...
> To: dev...@li...
> Subject: [Dev-C++] Passing a plane of 3-d array in C
>
> Hi, I am working on a C source file that uses a 3-dimensional array
> declared as pointer-to a pointer-to a pointer. Could anybody tell me
> as to how I can pass a particular plane of this 3-d array to a
> function.
> Also, if anybody can provide/suggest C code for calculating FFT (fast
> fourier transform) and its inverse of a 2-dimensional complex array.
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Blog your life in 3D with Windows Live Writer.
http://www.windowslive.com/overview.html?ocid=TXT_TAGLM_Wave2_wl_writer_022008 |