₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,326,059 members, 8,424,764 topics. Date: Thursday, 11 June 2026 at 03:12 PM

Toggle theme

Am Hook Up At A Point In My Coding - Programming - Nairaland

Nairaland ForumScience/TechnologyProgramming Am Hook Up At A Point In My Coding (1123 Views)

1 Reply (Go Down)

Am Hook Up At A Point In My Coding by Nobody: 11:33am On Apr 27, 2007
hello nairaland users
i am hook up at a point in my coding . plz
i need to now how code matrix 3by3  using JAVA and multiply the matrix n times
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz huh huh huh
Re: Am Hook Up At A Point In My Coding by my2cents(m): 12:31pm On Apr 28, 2007
nurexg,

your post sounds very cryptic, but if I understand what you are saying, you are looking at a 3D-array if you ask me.

As for multiplying n times, again this sounds very cryptic, so I will pass on that one.

Assuming my first line above is correct, then you can do something like this:

for(i=0; i<arraySize; i++) {
do stuff
for(j=0; j<arraySize; j++) {
do stuff
for(k=0; k<arraySize; k++) {
do stuff
}
}
}

Of course, this is generic. It all depends on what you are trying to do. Perhaps a quick google for "java 3d arrays" is in order?

I hope this helps.
Re: Am Hook Up At A Point In My Coding by my2cents(m): 12:33pm On Apr 29, 2007
coming to think of it again, i think u need a 2D-array tongue

for(i=0; i<3; i++) {
print i
for(j=0; j<3; j++) {
print j
}
}

Again, very generic, but you should see where this is going. Hopefully this helps.
Re: Am Hook Up At A Point In My Coding by sbucareer(f): 10:36pm On May 01, 2007

You can use multi-dimentional array

int problem[][][];
  for (int i=0; problem.length() < i; i++)
       do stuff
       problem[+i][i+][i];
   }

Re: Am Hook Up At A Point In My Coding by Nobody: 10:50am On May 15, 2007
guys i try all but still not working any more idea.
1 Reply

How Good Should My Coding Skills BE!! (.net And PHP)What Are The Differences Between Programming And Coding234

Need Murach C# 2008Little Job For An Html ProgrammerWhat Does It Cost?