Thanks so much for all your help, you're brilliant <3
Type: Posts; User: MagicTricksKill
Thanks so much for all your help, you're brilliant <3
Awesome, thanks! Do you have any idea where I could find a tutorial for that? Really strapped for time.
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...
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...
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....
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?
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...
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:
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...
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...