I've posted this on another part of this forum as well but more people are viewing in here.
I know most about them but the one thing I can't work out is, how do you put one Arrays values into another?
Something about nested for loops? Not sure how to do them though...?
I basically need to do this:
Write a public instance method called writeLetter() which takes a single argument
of type char called aCharacter and returns no result. The method should first invoke
the getLetter() method on the LEDFont class with aCharacter as its argument. As
stated earlier, getLetter() returns a two-dimensional array of type boolean which
has has CONSTANT_ONE rows and CONSTANT_TWO columns,
representing the LED settings for aCharacter. The array should be assigned to an
appropriately declared local variable called letter. The method should then copy the
boolean values from letter into matrix starting at the first row and column,
overwriting existing values.
>>>Little back ground about this,
LEDFont is purely just used for its "getLetter" method, so I need to invoke that method and it will then return a two dimensional boolean Array.
matrix is a 2D boolean Array which outputs a display, its values make up 5 rows and 60 columns so at this stage them elements are false and are represented by a '.' but if any elements are true then that true element will be represented by a 'O' .
So basically the 2D boolean Array that is returned (letter), its values and elements need to go into 'matrix' so that it can output what ever the user entered for aCharacter.
I hope all this makes sense!