Can anyone tell me how ARRAY Works?
Author |
Message |
jasonhan416
|
Posted: Sun Jan 11, 2009 10:37 pm Post subject: Can anyone tell me how ARRAY Works? |
|
|
My friend told me to use array for battleship but i dont know how array works..
turing help doens't help cause im too dumb to understand those >_> |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
TheGuardian001
|
|
|
|
![](images/spacer.gif) |
syntax_error
![](http://compsci.ca/v3/uploads/user_avatars/196798963948cf16794b6e5.jpg)
|
Posted: Mon Jan 12, 2009 1:38 am Post subject: RE:Can anyone tell me how ARRAY Works? |
|
|
Think of it as a table.
1D array has only rows or cols
2D has rows and cols
and so on, now each array holds a certain type of data wither it be string int and so froth
that data is being organized in an array giving it a specific location (rows, cols)
that should be a very basic understanding for you, I hope do visit the links and read the tuts |
|
|
|
|
![](images/spacer.gif) |
|
|