Search:

Type: Posts; User: Norm

Search: Search took 0.20 seconds.

  1. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    You need to add some println debugging code to see where the execution flow goes and what the values of the variables are as they are used and change. From your desk checking with paper and pencil...
  2. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    Can you explain in more detail what the problem is. What happens? Does it give an error?

    I don't see any image in your previous post.
  3. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    Ok, got it. What is your next step? Which method are you going to do next?
    Remember, we're here to help you get your code to work. We don't write your code. You write it.
  4. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    Apologies accepted.
    You still need to design/describe what you want your code to do.

    Have you looked at the java some of the classes in the src.zip file to get some ideas of how java did it?
  5. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    Good luck on the project.
    Hopefully you'll tell the next guy that tries to help where the parts are that are needed to compile the code.
    And I think there is a lot more about your environment that...
  6. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    I'm sorry, to me it looks like an execution error.

    Without a definition for this class: SimpleListADT
    I can NOT compile the code. PERIOD. NO WAY to do any more.
  7. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    I am not going to do any of your design work. I will help you get your design to work. I will not write any code for you.
    The FIRST thing you must do is provide me with code that executes or if...
  8. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    I get lots of errors. package util; is NOT an import statement!

    Where is SimpleListADT defined?

    Running: D:\Java\jdk1.6.0_25\bin\javac.exe -Xlint -g -deprecation -classpath...
  9. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    You left off the import statements needed to compile the code. Either post clean code that compiles or post all of the errors you get when you try to compile the code.

    Also the main() method is...
  10. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    Please enclose your code in code tags to preserve formatting. Unformatted, left adjusted code is hard to read.
    Info here:BB Code List - Java Forums
  11. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    Can you describe what you need to do next and what problems you are having?
    What is the purpose/usage of the three arrays you have defined?
    Why do you destroy the original value of freeListsArray...
  12. Thread: 3 Arrays

    by Norm
    Replies
    27
    Views
    4,155

    Re: 3 Arrays

    That's an interesting use of the Comparable interface. Have you read the API doc for the Comparable interface?
    It's mainly used with the sorting/ordering of lists.
Results 1 to 12 of 12