Now I get it:) Thank you very very much.
Type: Posts; User: bruint
Now I get it:) Thank you very very much.
Drawing up a table isn't really required, I understand the concept of 2D Arrays (You are right I am new, haha) but I'm having trouble understand how I can get each of these numbers that I've input...
Ha!, already stumped myself.
How can I get an integer from an Array and store it as a variable?
This was my intention of:
x = initialGrid.length;
y = initialGrid[x-1].length;
Ahhhh Chris, you bloody legend. it was indeed {{3,2}}, now I just have to work out the rest of it:D Much thanks. I'll definately be back here if I can't work anything out.
No, it occurs after compiling. I'm not exactly what the proccess is called, but on a guess, it's sort of like invoking a constructor from a class, and then the user can input the numbers, string,...
Chris, I've edited my code as you said. But Im still getting the identifier problem when I try to run my own constructor (A requirement for my lecturer - he marks with an automated script)
Your...
I'm compiling in BlueJ fine. They are 2 seperate classes (as im sure you already know) which class in particular is not compiling?
Thanks very much. Any help is greatly appreciated:) Hope to hear from you soon.
Thanks Chris, I've posted the SimpleCanvas code as requested. :)
I've worked on it a little more, but I'm still getting an <identifier> problem...please, any help is very very much appreciated :)
New Code:
public class FifteenPuzzle {
//Instance...
So I'm writing a program for a puzzle for my University Lab, but I run into a problem when I try to input 2 integers when constructing. Here's my full code (not nearly completed but still, I work in...