Search:

Type: Posts; User: Norm

Search: Search took 0.28 seconds.

  1. Re: Java program which scann file as per user input and return contents of file as output

    You can use a linear search for the first version to get a working program. Later you can organize the list of waypoints to make the search faster.
  2. Re: Java program which scann file as per user input and return contents of file as output

    Post the code you are having problems with and ask some specific questions about the problems you are having.

    I wrote a waypoints program to work with my GPS several years ago.
  3. Re: Java program which scann file as per user input and return contents of file as output

    Sorry, I have no idea what you are expecting the program to do.
  4. Re: Java program which scann file as per user input and return contents of file as output

    I don't understand what you think is possible with a search. How will the program know when to stop searching?
    What if there are 1000 items in the list, when should the search stop? When it has...
  5. Re: Java program which scann file as per user input and return contents of file as output

    Why in a random manner? Does that mean that some of the items in the list are not looked at during the search?
    How many of the items in the list should be looked at? For example if the list had...
  6. Re: Java program which scann file as per user input and return contents of file as output

    What problems are you having finding if a point in the GeoDetectors file is inside the rectangle from the points the user entered?
  7. Re: Java program which scann file as per user input and return contents of file as output

    Is this what you are trying to do:
    User enters two points(lat/long) and the program searches the detector list and finds some/all points in the list that are inside the rectangle defined by the...
  8. Re: Java program which scann file as per user input and return contents of file as output

    I don't understand how a "descriptor" can have more than one line in the data file with different lat and long values.

    The sample you posted always had 3 values, so I concluded that they all had...
  9. Re: Java program which scann file as per user input and return contents of file as output

    What would that look like?

    Why does each detector have 3 lines with lat/long values?


    How is a match found between the lat/long the user entered and the data in the list?

    I can imagine a...
  10. Re: Java program which scann file as per user input and return contents of file as output

    Can you post an example of what you want the program to output? Put the output in code tags to preserve the spacing.
Results 1 to 10 of 10