Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,669 members, 7,809,534 topics. Date: Friday, 26 April 2024 at 10:57 AM

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

Nairaland Forum / Science/Technology / Programming / Am Hook Up At A Point In My Coding (1043 Views)

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

(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
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)

Sales Model For Web Based Software / What Do I Do? / Pls I Need Career Guide

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.