Four levels of indirection!!!!!! I think this code would have to be rejected just for that! I don't doubt that it would work, but it would be impossible to maintain!
Could the original poster please give us some additional information: What language are you using? What compiler are you using? What kind of computer are you using? What operationg system are you using? RobR -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kathiresan Sent: Wednesday, August 04, 2010 1:39 AM To: [email protected] Subject: [c-prog] Re: array initialization It is sample code from http://softwareandfinance.com/CPP_3D_Dynamic_Arrays.html for creating dynamic arrays. Hope this helps...! template<class Type> int Create3D_Array(Type ****pResult, int x, int y, int z) { <snip>
