two inverted-tree diagrams. what command would change the left diagram to the right?

This is a discussion on two inverted-tree diagrams. what command would change the left diagram to the right? within the Linux Programming forums, part of the Platform Specific Boards category; Here are two inverted-tree diagrams. I tried to issue a command to change the left diagram to the right diagram. ...

  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    23

    Lightbulb two inverted-tree diagrams. what command would change the left diagram to the right?

    Here are two inverted-tree diagrams. I tried to issue a command to change the left
    diagram to the right diagram. Assume that you are in your home directory
    and use relative pathnames. [home] is home directory:


    [home] [home]
    | |
    +----------+----------+ +-------------+
    | | | | |
    systems ideas courses ideas courses
    | |
    notes systems
    |
    notes






    I entered: cd [home]/courses/ideas/systesms/notes [home]/ideas/courses/systesm/notes

    but didn't even work right

  2. #2
    Registered User
    Join Date
    Jan 2013
    Posts
    23
    Quote Originally Posted by blackendstars View Post
    Here are two inverted-tree diagrams. I tried to issue a command to change the left
    diagram to the right diagram. Assume that you are in your home directory
    and use relative pathnames. [home] is home directory:


    [home] [home]
    | |
    +----------+----------+ +-------------+
    | | | | |
    systems ideas courses ideas courses
    | |
    notes systems
    |
    notes






    I entered: cd [home]/courses/ideas/systesms/notes [home]/ideas/courses/systesm/notes

    but didn't even work right
    okay it seems i cant show the diagram properly.

  3. #3
    Registered User
    Join Date
    Jan 2013
    Posts
    23
    Quote Originally Posted by blackendstars View Post
    okay it seems i cant show the diagram properly.
    [home] [home]
    | |
    +------- +-------+ +-------------+
    | | | | |
    systems ideas courses ideas courses
    |
    | systems
    notes |
    notes

  4. #4
    Registered User
    Join Date
    Jan 2013
    Posts
    23
    https://cs.senecac.on.ca/~david.ward...mmary_031.html

    Question number 7

    the diagram is there

  5. #5
    Registered User
    Join Date
    Jan 2013
    Posts
    23
    work that out
    suppose to be
    mv unx122 coruses

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,422
    Use code tags to preserve all the formatting
    Code:
             [home]                       [home]
               |                            |
         +-------+-------+           +-------------+
         |       |       |           |             |
        unx122   |    courses       ideas       courses
         |       |                                 |
         |      ideas                            unx122
        notes                                      |
                                                 notes
    It also seems you solved it as well.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Some questions about left perfect tree
    By winggx in forum C Programming
    Replies: 1
    Last Post: 03-07-2010, 03:30 PM
  2. Binary tree wont go left!!!
    By datastructs in forum C++ Programming
    Replies: 2
    Last Post: 11-20-2009, 07:45 AM
  3. Insertion into left most child and right sibling tree
    By Unregistered in forum C Programming
    Replies: 0
    Last Post: 04-17-2002, 12:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21