Jump to content

  • Log In with Google      Sign In   
  • Create Account


[java] How to create int[ ][ ] ?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Ingenu   Members   -  Reputation: 807

Like
Likes
Like

Posted 22 June 2000 - 09:47 PM

I want to create a two dimensional array of int, how do I do that ? Thanks. -* So many things to do, so few time to spend *-

Sponsor:

#2 Claus Hansen Ries   Members   -  Reputation: 122

Like
Likes
Like

Posted 22 June 2000 - 11:07 PM



UPS, forgot that i where java forum=)



Edited by - Claus Hansen Ries on June 23, 2000 6:29:31 AM

#3 Ingenu   Members   -  Reputation: 807

Like
Likes
Like

Posted 22 June 2000 - 11:11 PM

Sometimes I really find myself sutpid !

I just inverted [][].

I wrote :

int[][] temp = new int[2];

Instead of

int temp[][] = new nt[i][2];

Really stupid thing that cost me more than 10 minutes to find out.
tssss.

anyway thanks for the reply


-* So many things to do, so few time to spend *-




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS