Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    On Windows, RightClick on the file, Select Properties, Look at the display - It shows the number of bytes in the file (Size) and the number of bytes the file uses on disk (Size on disk).

    For the...
  2. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    Have you compared the size of the file in bytes from the OS's properties with the total of all the counts that are expected?
  3. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    That says the program was reading and ignoring the first character on every line.
    Look at all the places in the code where data is read from the file to see if there are any where the character that...
  4. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    Who or what said that? Where are the lines in question? There isn't a technical need to have a leading space on a new line.


    Are all the characters in the input file being counted?
    Do all the...
  5. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    Do you have any questions or problems with the project?
  6. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    What does that mean? Can you post something that shows what you are talking about?
  7. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    Read the API doc to see what methods to use for that test.
    http://docs.oracle.com/javase/8/docs/api/index.html
  8. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    What are the if statements supposed to be testing.
    An if statement requires a boolean value not a char value. Change the expression in the if statement to return a boolean value.
    For example: x...
Results 1 to 8 of 8