RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: It includes all the header files. ---------------------------- revision 1.1 locked by: root; date: 2015/02/05 18:21:25; author: root; state: Exp; Initial revision ============================================================================= RCS file: mdc.c,v Working file: mdc.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: It is a program for multiple data compression and encryption using iterative technique. ---------------------------- revision 1.4 locked by: root; date: 2015/02/05 18:32:29; author: root; state: Exp; lines: +16 -1 Here i have created a master array in which i have copied the content of a file. This array is created using the pointers. Initially the memory is allocated using malloc for only the first character . Then the memory for each new character is allocated using realloc. ---------------------------- revision 1.3 date: 2015/02/05 18:26:36; author: root; state: Exp; lines: +12 -1 Read the characters one by one from a file using 'read' function. For reading the characters one by one while loop is used in which only one character is read at a time and the loop will continue until all the characters are read from a file. ---------------------------- revision 1.2 date: 2015/02/05 18:24:10; author: root; state: Exp; lines: +14 -2 Now i have opened a file in a read only mode using 'open' function and command line arguments. ---------------------------- revision 1.1 date: 2015/02/05 18:21:25; author: root; state: Exp; Initial revision =============================================================================