Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    timetable generation

    hi
    please can u help me in storing the course information in a file and then retriving it ........
    i want to have a file which contains all the details of the course such as

    1.department name
    2.number of semester
    3.the number of subjects for each sem
    4.subjeect code for each sem
    5.subject name
    6.number of hours allocated for each subject
    .
    .
    .ets

    and in the program when department name and semester is entered all the subjects in that semester should be got in an array format....
    please any one help me...

  • #2
    New Coder
    Join Date
    Aug 2007
    Posts
    20
    Thanks
    0
    Thanked 1 Time in 1 Post
    You have to use javas handling mechanism for that. If you are unaware of this, then this link may help
    http://java.sun.com/docs/books/tutorial/essential/io/

    For the file you are opening for reading and writing, first you need to identify what is the length of each column, like dept name, number of semester etc., and then send data limited to that length.
    Then read the data coming to you as Input, parse it by assigning data for each column to a variable or form a single String using a delimiter like (|), for all columns, and then write to the file.

    Same for reading....


    Regards
    Amit

  • #3
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi,
    can you plzz help me about below topic,
    what is the process to generate dynamic timetable in java with logic.
    i want to display time and day along with some data..
    please any one help me...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •