Results 1 to 3 of 3

Thread: Hierarchical Structure of Files

  1. #1
    Join Date
    Jul 2009
    Posts
    3

    Hierarchical Structure of Files

    How to build a Hierarchical Structure of Files in C programing...! Does anyone know how to build a hierarchical file structure in this....??? I am indeed need this one please help...

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Hierarchical Structure of Files

    Definition :

    A hierarchy is an arrangement of items, in which the items are represented as being "above," "below," or "at the same level as" one another. Computer files in a file system are stored in an hierarchy of directories in most operating systems. In object-oriented programming, classes are organized hierarchically; the relationship between two related classes is called inheritance. A hierarchy can link entities either directly or indirectly, and either vertically or horizontally.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Hierarchical Structure of Files

    The more it is used an operating system the more archives will be created. It is natural in the group of archives in directories so that we pruned to classify and to subdivide our activities. For example, we can have two important activities in the system, write programs in C and the marked Language of of hypertext HTML. Therefore after entering the suitable system that we can make sub directories, i.e. :

    Code:
    % cd
    % pwd
    /Cusers/staff/lgm
    % mkdir C HTML
    % mkdir C/src C/bin
    % mkdir HTML/src HTML/images
    % ls -l
    drw-r--r-- 1 lgm 512 Nov 24 18:00 C
    drw-r--r-- 1 lgm 512 Nov 24 18:00 HTML
    Note: We can use file name (i.e. src) many times as the file name is complete path from ground of the filesystem.
    For example, the file name for the HTML/src path is:
    /Cusers/staff/lgm/HTML/src
    and the C/src path is: /Cusers/staff/lgm/C/src

Similar Threads

  1. What is Structure Padding in C ?
    By avit in forum Software Development
    Replies: 6
    Last Post: 03-05-2012, 12:50 AM
  2. C++ table structure
    By RyanInt in forum Software Development
    Replies: 3
    Last Post: 14-11-2009, 07:50 PM
  3. Pointer to structure in C
    By Jamaima in forum Software Development
    Replies: 3
    Last Post: 08-10-2009, 03:30 PM
  4. I need to restore files from Vista Backup file structure
    By LokaPujya in forum Windows Vista Performance
    Replies: 4
    Last Post: 24-08-2009, 08:38 PM
  5. Domain Structure
    By solvent in forum Operating Systems
    Replies: 3
    Last Post: 06-03-2009, 10:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,675,253,893.35213 seconds with 17 queries