hi there,
What is the function or the command that clears all the array entities.?
Thank you in advance
User Profile
Collapse
-
Array columns
Is it possible to add columns to an array using dimenion of another array ? For example i have an array..
int[][] anArray = new int[100][20], Obviously.. it accepts 20 columns. What I want to do is to use another array to pass it into the columns for example,
int[] anArray2 = new int[somevalue] //somevalue is an input lets say 4. Then this array pass it to 20 columns, and create 4 columns for me, later I want ot use... -
Array output
hi there, I am a newbie programmer and I have the following problem: I need to have a 2-d array that will have 3 columns and 100 rows. below that columns i would like to store randomly numbers. Check out my code and if you have any ideas of how to print the array correctly, please let me know. Thank you in advance
int node = 1;
int count = 0;
int[][] NodesArray = new int[101][3];
NodesArray[0][0]...
No activity results to display
Show More