Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Translate Turbo Pascal code in Java

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Translate Turbo Pascal code in Java

    Hello,

    Can you help me, i'm trying to translate this code in java.

    Type
    TElem = String[25];

    TListe = ^Cell;

    Cell = Record
    info : TElem;
    svt : Tliste;
    End;

    TArbre = ^Noeud;

    Tableau = Array['2'..'9'] Of TArbre;

    Noeud = Record
    fils : Tableau;
    mots : TListe;
    End;

    Thank you


  2. #2
    Member
    Join Date
    Nov 2011
    Posts
    39
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Translate Turbo Pascal code in Java

    Hello,

    Is this your homework? Let compare the syntax, grammar, data types between Pascal and Java, then you will be able to find your way.

    Spring 3
    Last edited by cafeteria84; January 22nd, 2012 at 04:00 PM.

Similar Threads

  1. Java files compilation with java code
    By stallapp in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: July 14th, 2011, 08:12 AM
  2. Replies: 10
    Last Post: April 5th, 2011, 09:09 AM
  3. Replies: 2
    Last Post: August 1st, 2010, 06:29 AM
  4. Help to translate from C to java
    By ighor10 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 27th, 2010, 07:36 AM
  5. Translate Java Code Into English
    By drkossa in forum Java Theory & Questions
    Replies: 4
    Last Post: November 27th, 2009, 02:52 PM