Search:

Type: Posts; User: bruint

Search: Search took 0.10 seconds.

  1. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    Now I get it:) Thank you very very much.
  2. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    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...
  3. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    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;
  4. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    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.
  5. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    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,...
  6. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    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...
  7. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    I'm compiling in BlueJ fine. They are 2 seperate classes (as im sure you already know) which class in particular is not compiling?
  8. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    Thanks very much. Any help is greatly appreciated:) Hope to hear from you soon.
  9. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    Thanks Chris, I've posted the SimpleCanvas code as requested. :)
  10. Replies
    23
    Views
    7,464

    [SOLVED] Re: Another expected problem...

    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...
  11. Replies
    23
    Views
    7,464

    [SOLVED] Java error "Another expected"

    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...
Results 1 to 11 of 12