Archived

This topic is now archived and is closed to further replies.

Ingenu

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

Recommended Posts

Ingenu    1629
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 *-

Share this post


Link to post
Share on other sites