Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 22-08-2009
Member
 
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...
Reply With Quote
  #2  
Old 22-08-2009
Member
 
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.
Reply With Quote
  #3  
Old 22-08-2009
Member
 
Join Date: May 2008
Posts: 2,008
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
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Hierarchical Structure of Files"
Thread Thread Starter Forum Replies Last Post
What is Structure Padding in C ? avit Software Development 6 03-05-2012 12:50 AM
C++ table structure RyanInt Software Development 3 14-11-2009 07:50 PM
Pointer to structure in C Jamaima Software Development 3 08-10-2009 03:30 PM
I need to restore files from Vista Backup file structure LokaPujya Windows Vista Performance 4 24-08-2009 08:38 PM
Domain Structure solvent Operating Systems 3 06-03-2009 10:00 PM


All times are GMT +5.5. The time now is 04:34 PM.