Skip to main content
GameDev.net gamedev.net
🔒 Locked

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

Started by Ingenu Jun 23, 2000 at 3:47 AM 1 replies 1.2k views
Original Post
Ingenu
Ingenu
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 *-
-* So many things to do, so little time to spend. *-
Claus Hansen Ries
Claus Hansen Ries


UPS, forgot that i where java forum=)



Edited by - Claus Hansen Ries on June 23, 2000 6:29:31 AM
Ries
Ingenu
Ingenu
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 *-
-* So many things to do, so little time to spend. *-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.