Search:

Type: Posts; User: MagicTricksKill

Search: Search took 0.22 seconds.

  1. Replies
    3
    Views
    462

    Re: DoublyLinkedList

    Yeah it compiles and executes and gives me the correct output, but what I am asking is, do I have all the methods in that I was asked to do?
    Like by looking at my code can you see where I have put...
  2. Replies
    3
    Views
    462

    DoublyLinkedList

    Hi there!

    I have an assignment due soon, We just have to demonstrate DoublyLinkedLists.
    These are the methods we have to use.

    returns true if there is at least one object before the...
  3. Re: File Input and Output and Exception Handling

    Thanks so much for all your help, you're brilliant <3
  4. Re: File Input and Output and Exception Handling

    Awesome, thanks! Do you have any idea where I could find a tutorial for that? Really strapped for time.
  5. Re: File Input and Output and Exception Handling

    Well there should be objects in the array, I made an array list for name, age, race, attakc and defense each. I then wrote them to the file, they read back perfectly fine but when I reopen the file...
  6. Re: File Input and Output and Exception Handling

    Hi, So I have been working on the project more, it is due tommorow at 12 noon.
    One final question I think, My code reads the information put in by the user which is in seperate arraylists, such as...
  7. Re: File Input and Output and Exception Handling

    Okay, so I have been working on the code, it now requests user input on what option you want to choose, if you choose "add hero" option, a prompt comes up to enter a name, then an age then a race....
  8. Re: File Input and Output and Exception Handling

    Sorry about that! I just don't know how to implement it in the original code to get it to work? Is that code sufficient to get the program working the way I want, how else do I add onto it?
  9. Re: File Input and Output and Exception Handling

    Okay, so I made a program where I use a pre made text file and then it prints its contents to the screen and creates a new text file...
    But I still don't really understand it.
    How am I supposed to...
  10. Re: File Input and Output and Exception Handling

    On each line would be something like this...
    The user must enter a Name, Race, Age, Attack and Defense.

    So there for each line would be...

    Name:
    Race:
    Age:
    Attack:
    Defense:
  11. Re: File Input and Output and Exception Handling

    I want to save the data I have entered into the arraylist into a text file, so I would probably create the file at the start? then go through the program and enter the details of the characters in...
  12. File Input and Output and Exception Handling

    Okay, so I have a project due in a friday and my Nana passed away this morning so I really have to work at double speed to get it in for friday seeing as I will have funeral and such in the coming...
  13. Replies
    2
    Views
    605

    Re: File input & output

    Are you in Iadt? Hahaha, I have the same problem <3
  14. Video Game Character ArrayList Help?

    Hey guys, so currently I have this ArrayList set up.
    I was wondering if there would be anyway to set up a prompt which asks the user to choose the element they would like to use, as you see the...
Results 1 to 14 of 14