Search:

Type: Posts; User: tednfs

Search: Search took 0.28 seconds.

  1. Re: Write a program that reads the timetable from a file and prints out to the screen?

    --- Update ---

    [/COLOR]Thank you. It works as it should. Regarding your inquires, the hour value is gotten from token[0] which is the first index of a new line.

    According to the requirement:...
  2. Re: Write a program that reads the timetable from a file and prints out to the screen?

    I have tried to work around it but cant put my fingers around it. I realise that the hour prints itself twice before printing the remaining minutes. Can you point me in the right direction or suggest...
  3. Re: Write a program that reads the timetable from a file and prints out to the screen?

    I made those changes and ended up with: The logic still doesnt hold up:S



    public class SLtimeTable {

    private static ArrayList<Tid> timesArray = new ArrayList<Tid>();


    public static...
  4. Re: Write a program that reads the timetable from a file and prints out to the screen?

    My problem is that the output is wrong. The result being outputed can be viewed below.

    I am trying to read the times from a text file, format it and present it as shown in the second file above....
  5. Re: Write a program that reads the timetable from a file and prints out to the screen?

    Yes, the data has the hours in the first column and the minutes in the rest of the columns!
  6. Write a program that reads the timetable from a file and prints out to the screen?

    **Initial Format saved as a text document:**

    04
    05 10 25 40 55
    06 05 15 25 35 45 55
    07 00 05 10 15 20 25 30 35 40 45 50 55
    08 00 05 10 15 20 25 30 35 40 45 50 55
    ...
  7. Thread: Hi java peeps

    by tednfs
    Replies
    1
    Views
    881

    Hi java peeps

    Hi everyone my name is John and im a beginner in Java. My goal is to be better than the founders of the language:)
Results 1 to 7 of 7