Search:

Type: Posts; User: MrLowBot

Search: Search took 0.10 seconds.

  1. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    No and tbh i don't think that i could do that haha, i don't know how to do it...
  2. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    Very true. Trying to figure it out atm.
  3. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    1. I had to test the text a lot to notice that everytime i did put a whitespace before any new line within a text that had a uppercase letter in the begining was
    taking into a count but without...
  4. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    Two questions.

    1. Why do i need to put a space at the start of every new line? Ideas?

    2. Why do i not get the value of whitespaces that i am meant to get?
    I get 701 but i should get 728....
  5. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    The question is :


    Write a program CountChar.java, counting characters of different types in a text read from a file. Give the number of characters of the following types:

    Upper case...
  6. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    I actually almost got it working with as little code as possible.
    However it is only giving me the exact correct numbers for the lowercase letters and not the rest.

    Looked at API for a while. I...
  7. Replies
    15
    Views
    767

    Re: Cannot covert boolean to char.

    It is meant to test for up/low cases, digits and whitespaces within a text file.
  8. Replies
    15
    Views
    767

    Cannot covert boolean to char.

    Real title : Cannot convert char to boolean!

    Hello.

    This code is meant to be able to take any text and count the uppercase letters, lowercase letters, whitespaces and digits (well not really...
Results 1 to 8 of 8