Search:

Type: Posts; User: JavaPF

Search: Search took 0.09 seconds.

  1. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    Glad we got it to run eventually...

    I didn't have chance to fully test the output but when I checked it was pretty close. The main code is there.. everything you need to complete it and get it...
  2. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    Try right clicking the class file and going to Run as > Java Application.
  3. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    Yes it worked fine for me. Are you sure you have copied all of the code?
  4. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    OK looking at the errors in the console, this could be because you are not sending dictonary.txt as a command line argument which is what you have to do in your assignment.

    After working on your...
  5. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    I don't mind helping, just please don't leave things until the last minute. If you give us plenty of time before your deadline then this saves everyone a lot of stress.

    What IDE are you using?...
  6. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    This is almost working how you would want it to.. I've included a quick example of the loop for part D but i've had no real time to test it.



    import java.io.File;
    import...
  7. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    This is another assignment you have left late to finish! I can't be responsible for completing all your assignment work at the last minute lol



    This is what object oriented programming is all...
  8. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    Hello Peter,

    This is what I have so far. I've completed all steps except for Part D.

    Don't forget you need to send dictionary.txt as a command line argument when running this program.

    The...
  9. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    Hey Chris, long time no see!

    I'm not far off completing this example for you Peter.. Ill post what I have asap.
  10. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    Hey Peter,

    I didn't have chance to look at this last night before I went to bed.

    I'm looking into it now...
  11. Replies
    24
    Views
    3,646

    Re: New Assignment that's tough

    Hello Peter,



    You can use the Scanner class to do this. Please take a look at these tutorials:
    ...
Results 1 to 11 of 11