RCS file: mdc.c,v
Working file: mdc.c
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
included all the header files
entered the string using gets()
—————————-
revision 1.8 locked by: root;
date: 2014/11/13 07:14:16; author: root; state: Exp; lines: +2 -2
in decompressing first right shifted the first byte by four and matched those four bytes with the index of master array and printed the value at that index
for the last four bytes,printed the value for that index from the master array
doing this for other bytes
printed the final array
—————————-
revision 1.7
date: 2014/11/13 07:02:05; author: root; state: Exp; lines: +1 -1
ORING the first byte with secong one
and doing this for other bytes
—————————-
revision 1.6
date: 2014/11/13 06:59:05; author: root; state: Exp; lines: +1 -1
now for secong index moving the index to the byte and first left shift it by four and then right shift it by four
—————————-
revision 1.5
date: 2014/11/13 06:57:04; author: root; state: Exp; lines: +1 -1
in compression X-ORING the bytes with themselves
moving the index of the first character in the bits
and left shifting them by four
—————————-
revision 1.4
date: 2014/11/13 06:56:09; author: root; state: Exp; lines: +1 -1
using lseek function again moving the cursor to the very first location
—————————-
revision 1.3
date: 2014/11/13 06:53:45; author: root; state: Exp; lines: +1 -1
using for loop matching the every element of the entered array with that of master array
if matched then skip the character
if not matched then include the character in the master array
—————————-
revision 1.2
date: 2014/11/13 06:52:57; author: root; state: Exp; lines: +1 -1
assigned the first character in the master arrayy
—————————-
revision 1.1
date: 2014/11/13 06:52:06; author: root; state: Exp;
Initial revision