Results 21 to 25 of 25
- 07-02-2011, 07:13 PM #21
Member
- Join Date
- Jun 2011
- Location
- Tsukuba, Japan
- Posts
- 63
- Rep Power
- 0
- 07-02-2011, 07:16 PM #22
I'm using XP on 1.8GHz single cpu
- 07-02-2011, 07:46 PM #23
Member
- Join Date
- Jun 2011
- Location
- Tsukuba, Japan
- Posts
- 63
- Rep Power
- 0
Dear Norm,
here is the modification for the grid, just add this code fragment to the constructor in iteration2.
for(int i=0; i<width; i++)
{
cells[i][16] = 1;
}
should do the trick. :) i think.
- 07-02-2011, 07:52 PM #24
Nothing happens when I added it:
Java Code:Iteration2( int w, int h){ width = w; height = h; cells = new int[w][h]; buffer = new int[w][h]; // Set some for debug for(int i=0; i<width; i++) { cells[i][16] = 1; } System.out.println("init done"); }
- 07-06-2011, 06:19 AM #25
Member
- Join Date
- Jun 2011
- Location
- Tsukuba, Japan
- Posts
- 63
- Rep Power
- 0
Similar Threads
-
One row help with Locking Java to MAC Adress
By Darkbound in forum New To JavaReplies: 1Last Post: 04-28-2011, 07:42 PM -
Threading: Locking an object?
By MatuX in forum Threads and SynchronizationReplies: 12Last Post: 06-13-2010, 01:14 PM -
locking strategies
By jicxicmic in forum JDBCReplies: 0Last Post: 09-03-2009, 11:36 PM -
Row level locking........
By jithan in forum New To JavaReplies: 0Last Post: 09-02-2008, 07:09 AM -
row level locking
By jithan in forum New To JavaReplies: 1Last Post: 08-28-2008, 06:42 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks