Search:

Type: Posts; User: blacksteel

Search: Search took 0.18 seconds.

  1. Replies
    12
    Views
    1,584

    [SOLVED] Re: Collecting Data from File

    Actually i figured out a very small mistake by accident
    Thanks to both of your help for the assistance

    Note for other people references : In fact, my code was working perfectly fine. If I compile...
  2. Replies
    12
    Views
    1,584

    [SOLVED] Re: Collecting Data from File

    2500
    I need to collect the data inside "DataFile"
    My program starts inside the PJ3.package(GasStationSimulator.java)

    My current code is the same as the first post

    What i want to happen, when...
  3. Replies
    12
    Views
    1,584

    [SOLVED] Re: Collecting Data from File

    What i was asking was, what do i need to write/add inside my code to make things(relative path) work

    Sorry for asking too much, because this is my first time using this kind of way
  4. Replies
    12
    Views
    1,584

    [SOLVED] Re: Collecting Data from File

    I know the concept now,
    but still confused how to implement it
    Could you / anyone explain how to implement the relative path inside my code?
    I've been trying to write it like this
    Scanner...
  5. Replies
    12
    Views
    1,584

    [SOLVED] Re: Collecting Data from File

    I think relative path is used to specify the path has to be there, or can we give the path to link it for the directory outside the package?

    For example, if we put my package in the desktop, and...
  6. Replies
    12
    Views
    1,584

    [SOLVED] Re: Collecting Data from File

    No,

    I want the program to work not only in my pc, and that's why I cannot use a specific path that only works in my Pc
    but the path itself is always right outside the package.
  7. Replies
    12
    Views
    1,584

    [SOLVED] Collecting Data from File

    Hi guys,

    So I have a problem getting some Data from a particular file
    In this context I used API I/O and this is my chunk of code


    Scanner scanner = new Scanner(System.in);...
Results 1 to 7 of 7