![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#11 |
|
Newbie
Join Date: Feb 2008
Posts: 10
Rep Power: 0
![]() |
Re: Patterned returns with Math.random()
src.zip
Found the error. RNG not to blame! Although I fixed it, I can't see why it should matter. Assume I have a class "Left" with a method "Down" that requires an array to be passed to it. In the main method an object is made. Left useLeft = new Left() useLeft.Down(arrayName); Why is that different than if I made the array in the class "Left" and I did not bother to pass it to the method via the object, I just passed it to the method from within the class? ![]() |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with assignment code returns no answer | backstabber | C++ | 9 | Dec 21st, 2006 7:46 AM |
| Futurama Returns!!! | Indigno | Coder's Corner Lounge | 27 | Jul 22nd, 2006 2:48 PM |
| Stash returns... Malloc problem? | Soulstorm | C++ | 18 | May 27th, 2006 2:09 AM |
| Function that returns occurances of substring in string. | conbrio | C | 7 | Jul 1st, 2005 6:51 PM |
| Count lenght of list inside list, how to print returns | dezza | Python | 5 | Apr 5th, 2005 12:16 PM |