Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

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

4: Adsense

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   

1576
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 *-

#2 Claus Hansen Ries   Members   

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   

1576
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.