aspose file tools*
The moose likes Beginning Java and the fly likes how to write a function to demostrate functionality of 3d in 1d. function prototye: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to write a function to demostrate functionality of 3d in 1d. function prototye:" Watch "how to write a function to demostrate functionality of 3d in 1d. function prototye:" New topic
Author

how to write a function to demostrate functionality of 3d in 1d. function prototye:

Pulkit verma
Greenhorn

Joined: Sep 30, 2009
Posts: 1
write a function to give demostrate the functionality of 3d in 1d. function prototye:
change(int value,int indexX,int indexY,int indexZ, int [] 1dArray);
value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored.

please please help me out...........i would be really really thankful to you...........how to demostrate 3d array in 1d array
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39791
    
  28
Welcome to JavaRanch

We do not simply give out that sort of answer, but we expect you do do the work, then show us what you have, and we shall tell you what we think of it.

By the way: There is no such thing as a 3-D array in Java, only 1-D arrays. What you think is a 2-D array is actually a 1-D array of 1-D arrays.

Please check the question you have been given carefully. The code you have posted doesn't look like valid Java. And "function prototype" is a phrase never used in Java syntax. You do however say "function prototype" in C, and that code looks rather like C to me, unless it is supposed to be part of an interface.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to write a function to demostrate functionality of 3d in 1d. function prototye: