Search:

Type: Posts; User: Mr.777

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    1,875

    Re: Trouble Reading Line in File

    So, you better try to use FileOutputStream and ObjectOutputStream (concept of serialization) in your function.
  2. Replies
    9
    Views
    1,875

    Re: Trouble Reading Line in File

    So, you can get text from your file into a string and try using nextInt(). Ain't you?
  3. Replies
    9
    Views
    1,875

    Re: Trouble Reading Line in File

    1. Where are you getting menu choice?
    2. Are you sure that in file there is no space between your operator and the immediate operand?
    3. You better try using nextInt() or whatever type of values...
  4. Replies
    9
    Views
    1,875

    Re: Trouble Reading Line in File

    Can you kindly post through your whole code so that we could look over that and inside the findTotal() method, you used str.charAt(0), should it always check the character position at 0?
    Anyways,...
Results 1 to 4 of 4