Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. [SOLVED] Re: Question about reading numbers from external file

    Another problem is the there is not a call to the hasNextDouble() method for each call to the nextDouble() method. They should be coded so the has... method is called before each call to next....
  2. [SOLVED] Re: Question about reading numbers from external file

    I made my own data.txt file and then tried to change the program to have it work with the value of NbrLines that I posted above to make the testing easier. 49 lines is too many. 5 is enough for...
  3. [SOLVED] Re: Question about reading numbers from external file

    What is in the input file that is read?

    Can you post the full contents of the programs output?


    A suggestion to make the code easier for testing.
    Instead of hard coding magic numbers like 48...
  4. [SOLVED] Re: Question about reading numbers from external file

    Are there other parts of the code that read the file up to 1620.5?

    Can you make a small complete program that compiles, executes and shows the problem. There must be something else that isn't...
  5. [SOLVED] Re: Question about reading numbers from external file

    Are you saying the first number in the file is 1698.8?
    Where is 1620.5 located in the file?
    Is there a pattern between what is printed and what is in the file? For example it only prints every...
Results 1 to 5 of 5