Search:

Type: Posts; User: Junky

Search: Search took 0.09 seconds.

  1. Re: Cipher Program - Not sure what this error is - PLEASE HELP

    :headdesk:
  2. Re: Cipher Program - Not sure what this error is - PLEASE HELP

    The only problem is that you have not initialised the alphabet variable to a String. Perhaps you meant to do this

    private static final String alphabet = "abcdefghijklmnopqrstuvwxyz";

    Notice the...
  3. Re: Cipher Program - Not sure what this error is - PLEASE HELP

    We don't need you posting the full assignment. Did you read my reply? It explains what you are doing wrong. If you don't understand what I said then ask a specific question.
  4. Re: Cipher Program - Not sure what this error is - PLEASE HELP

    private int location = alphabet.indexOf (e);
    private static String abcdefghijklmnopqrstuvwxyz;
    private static final String alphabet = abcdefghijklmnopqrstuvwxyz;

    On line 1 you call indexOf...
  5. Re: Cipher Program - Not sure what this error is - PLEASE HELP

    It would help if you posted this in your other thread which contains the code.
Results 1 to 5 of 5