Search:

Type: Posts; User: cryslam

Search: Search took 0.24 seconds.

  1. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    Scratch the scanner stuff I added before, and I have read the scanner API doc but I want to read in Strings from the user. I want to read in String array arguments, but in Java the arguments are...
  2. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    I added the print statement and scanner to try to make the code work..but failed. The program is supposed to wait for the user to enter like:
    To add a new user:
    java...
  3. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    1919 1920 1921 1922 1923 1924


    these are the files. I'm supposed to implement a code that is allows a user to sign in and edit their albums, and photos. Also we're supposed to edit the...
  4. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    I added this to my code, and it doesn't work.


    int count = 0;
    cs213.photoAlbum.model.backend.readPerUser();

    //s.useDelimiter("\n");
    ...
  5. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    right, the thing is I'm supposed to run it in command line mode and the arguments would be inputted before running the main class....
    like this:

    To add a new user:
    java...
  6. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    here's the error:

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
    at cs213.photoAlbum.simpleview.CmdView.main(CmdView.java:22)
  7. There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    1918
Results 1 to 7 of 7