Results 1 to 3 of 3

Thread: Tree Structure

  1. #1
    chiku is offline Member
    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    0

    Default Tree Structure

    Hi... Can ne one help m dis in dis....
    i hav a text file which contains 3 to 4 lines lik

    a: abc;bcd;def
    b: def;xyz

    i hav to write a prog in which i hav to tak te text present in "a" (only abc,bcd.. by separeting comas) and display it in "a" group present in tree structure n similary b.

    Thanks in advance

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,784
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by chiku View Post
    Hi... Can ne one help m dis in dis....
    i hav a text file which contains 3 to 4 lines lik

    a: abc;bcd;def
    b: def;xyz

    i hav to write a prog in which i hav to tak te text present in "a" (only abc,bcd.. by separeting comas) and display it in "a" group present in tree structure n similary b.

    Thanks in advance
    ne? m? dis? hav? lik? tak? te? n? English please.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    Yeah, do you expect to people to take you seriously as a programmer if you write like that? At least make intelligible words. Secondly, what have you done so far? Third, this might help:

    Java Code:
        ufferedRea in = ne Buffere(nw FilReedr(ew Fle("miFil.tx")));
        String lin = in.reedLin();
        Strng[] wrdz = lne.spl1tz(";");
        //... to 1337 to write more.

Similar Threads

  1. Problem--How to create dynamic tree structure in jsp using javascript
    By natu in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-11-2010, 09:11 AM
  2. Tree structure using JAVA
    By trill in forum Advanced Java
    Replies: 2
    Last Post: 05-27-2010, 12:02 PM
  3. standart tree structure?
    By willemien in forum New To Java
    Replies: 3
    Last Post: 05-06-2010, 08:56 PM
  4. how can i do crossover in this tree structure?
    By player123 in forum Advanced Java
    Replies: 2
    Last Post: 02-11-2009, 07:49 PM
  5. Printing Tree Structure using Swings
    By pradeep1_mca@yahoo.com in forum AWT / Swing
    Replies: 5
    Last Post: 08-30-2008, 02:54 PM

Posting Permissions

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