RCS file: header.h,v
Working file: header.h
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
This is the base headr file for project.
----------------------------
revision 1.2 locked by: root;
date: 2014/11/03 09:21:08; author: root; state: Exp; lines: +1 -0
Included unistd.h
----------------------------
revision 1.1
date: 2014/10/31 10:49:13; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: mdcaeuit.c,v
Working file: mdcaeuit.c
head: 1.7
branch:
locks: strict
root: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
This is the base source code for the Project:
Multiple Data Compression and Encryption using Iterative Technuque.
----------------------------
revision 1.7 locked by: root;
date: 2014/11/03 09:34:20; author: root; state: Exp; lines: +3 -1
Modifying the end of file character further.
using break to come out of the loop that reads the file.
----------------------------
revision 1.6
date: 2014/11/03 09:32:44; author: root; state: Exp; lines: +2 -2
Modifying the end of file condition to come out of the while loop.
----------------------------
revision 1.5
date: 2014/11/03 09:29:41; author: root; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.4
date: 2014/11/03 09:28:11; author: root; state: Exp; lines: +10 -6
Reading 1 char at a time from the file and printing.
using while loop for the same.
----------------------------
revision 1.3
date: 2014/11/03 09:21:18; author: root; state: Exp; lines: +9 -1
Reading from the input file and printing the number of characters read.
----------------------------
revision 1.2
date: 2014/10/31 10:54:24; author: root; state: Exp; lines: +1 -1
Included a \n in the printf ststement.
----------------------------
revision 1.1
date: 2014/10/31 10:50:19; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: mdcaeuit.c,v
Working file: mdcaeuit.c
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
This is the base source code for the Project:
Multiple Data Compression and Encryption using Iterative Technuque.
----------------------------
revision 1.10 locked by: root;
date: 2014/11/03 09:59:50; author: root; state: Exp; lines: +6 -2
Using a pointer to array to store characters read from the file into the array.
Using pointer to array for printing the array.
----------------------------
revision 1.9
date: 2014/11/03 09:46:25; author: root; state: Exp; lines: +1 -1
Declared i.
----------------------------
revision 1.8
date: 2014/11/03 09:45:37; author: root; state: Exp; lines: +9 -3
Reading the characters from the file and storing in the master array.
When reading is over, we print the whole array.
----------------------------
revision 1.7
date: 2014/11/03 09:34:20; author: root; state: Exp; lines: +3 -1
Modifying the end of file character further.
using break to come out of the loop that reads the file.
----------------------------
revision 1.6
date: 2014/11/03 09:32:44; author: root; state: Exp; lines: +2 -2
Modifying the end of file condition to come out of the while loop.
----------------------------
revision 1.5
date: 2014/11/03 09:29:41; author: root; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.4
date: 2014/11/03 09:28:11; author: root; state: Exp; lines: +10 -6
Reading 1 char at a time from the file and printing.
using while loop for the same.
----------------------------
revision 1.3
date: 2014/11/03 09:21:18; author: root; state: Exp; lines: +9 -1
Reading from the input file and printing the number of characters read.
----------------------------
revision 1.2
date: 2014/10/31 10:54:24; author: root; state: Exp; lines: +1 -1
Included a \n in the printf ststement.
----------------------------
revision 1.1
date: 2014/10/31 10:50:19; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: headers.h,v
Working file: headers.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This is the header file for project.
Multiple Data Compression and Encryption using Iteratice Technique.
It will contain only header files to be oncluded.
Included stdio.h and fcntl.h
----------------------------
revision 1.1 locked by: root;
date: 2016/07/25 07:33:54; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: mdcaeuit.c,v
Working file: mdcaeuit.c
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
This is the main file for project
Multiple Data Compression and Encryption using Iteratice Technique.
Opened file for compression and displayed file descriptor.
----------------------------
revision 1.10 locked by: root;
date: 2016/07/26 07:30:55; author: root; state: Exp; lines: +20 -6
Found the ndc and code length
----------------------------
revision 1.9
date: 2016/07/26 07:11:56; author: root; state: Exp; lines: +1 -1
Fixed logical arror.
----------------------------
revision 1.8
date: 2016/07/26 07:09:14; author: root; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.7
date: 2016/07/26 07:08:24; author: root; state: Exp; lines: +16 -5
Checking the charcter for uniqueness ...
if unique, then putting in the array.
----------------------------
revision 1.6
date: 2016/07/26 07:02:13; author: root; state: Exp; lines: +8 -2
Storing the characters in the array one by one.
in a loop
then printing the array outside of the loop
----------------------------
revision 1.5
date: 2016/07/26 06:53:55; author: root; state: Exp; lines: +11 -13
Reading characters from the file, character by character.
Printing Characters. in while loop
----------------------------
revision 1.4
date: 2016/07/26 06:47:53; author: root; state: Exp; lines: +2 -0
*** empty log message ***
----------------------------
revision 1.3
date: 2016/07/26 06:45:54; author: root; state: Exp; lines: +11 -1
Reading characters from the file using read()
----------------------------
revision 1.2
date: 2016/07/25 07:39:28; author: root; state: Exp; lines: +1 -0
Added a print ststement.
----------------------------
revision 1.1
date: 2016/07/25 07:34:19; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: headers.h,v
Working file: headers.h
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This is the headers file for the main mdc file
It includes stdio.h and fcntl.h header files
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/07/28 05:07:46; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: mdc.c,v
Working file: mdc.c
head: 1.3
branch:
locks: strict
pchauhan: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
This is the main file mdc.c
It is aimed at opening a text file named 'textfile'
It also prints the file descriptor for the file opened
We try to track changes in this file
----------------------------
revision 1.3 locked by: pchauhan;
date: 2016/07/28 05:14:01; author: pchauhan; state: Exp; lines: +1 -1
A syntax error of not including ';' after closing of the file has been rectified.
----------------------------
revision 1.2
date: 2016/07/28 05:12:16; author: pchauhan; state: Exp; lines: +4 -1
We try to add another printf message to track the changes in the main mdc.c file through rcs
----------------------------
revision 1.1
date: 2016/07/28 05:07:53; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: headers.h,v
Working file: headers.h
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This is the headers file for the main mdc file
It includes stdio.h and fcntl.h header files
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/07/28 05:07:46; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: mdc.c,v
Working file: mdc.c
head: 1.12
branch:
locks: strict
pchauhan: 1.12
access list:
symbolic names:
keyword substitution: kv
total revisions: 12; selected revisions: 12
description:
This is the main file mdc.c
It is aimed at opening a text file named 'textfile'
It also prints the file descriptor for the file opened
We try to track changes in this file
----------------------------
revision 1.12 locked by: pchauhan;
date: 2016/07/28 08:47:15; author: pchauhan; state: Exp; lines: +9 -9
corrected a minute error.
----------------------------
revision 1.11
date: 2016/07/28 08:30:12; author: pchauhan; state: Exp; lines: +26 -9
Found the code length and got it printed
----------------------------
revision 1.10
date: 2016/07/28 08:08:43; author: pchauhan; state: Exp; lines: +24 -6
Found out the unique characters in the array
Print the unique characters as a string
----------------------------
revision 1.9
date: 2016/07/28 06:36:35; author: pchauhan; state: Exp; lines: +3 -2
corrected a syntax error of assignment of end of string character
defined and initialized variable i
Got the output as desired: read, inp
printed and the read characters displayed as a string
----------------------------
revision 1.8
date: 2016/07/28 06:31:29; author: pchauhan; state: Exp; lines: +6 -0
input each character in an array one by one
Print the read characters as a string
----------------------------
revision 1.7
date: 2016/07/28 06:24:02; author: pchauhan; state: Exp; lines: +7 -6
reading characters one by one
----------------------------
revision 1.6
date: 2016/07/28 06:08:25; author: pchauhan; state: Exp; lines: +4 -2
Printing the text read in the form of a string
----------------------------
revision 1.5
date: 2016/07/28 06:06:21; author: pchauhan; state: Exp; lines: +3 -1
Printed the no. of characters read from 'textfile' file.
----------------------------
revision 1.4
date: 2016/07/28 06:02:18; author: pchauhan; state: Exp; lines: +4 -1
Counting the number of characters read from the file
----------------------------
revision 1.3
date: 2016/07/28 05:14:01; author: pchauhan; state: Exp; lines: +1 -1
A syntax error of not including ';' after closing of the file has been rectified.
----------------------------
revision 1.2
date: 2016/07/28 05:12:16; author: pchauhan; state: Exp; lines: +4 -1
We try to add another printf message to track the changes in the main mdc.c file through rcs
----------------------------
revision 1.1
date: 2016/07/28 05:07:53; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: headers.h,v
Working file: headers.h
head: 1.3
branch:
locks: strict
pchauhan: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
This is the headers file for the main mdc file
It includes stdio.h and fcntl.h header files
----------------------------
revision 1.3 locked by: pchauhan;
date: 2016/07/28 10:27:30; author: pchauhan; state: Exp; lines: +1 -0
String.h is included for memset
----------------------------
revision 1.2
date: 2016/07/28 09:07:08; author: pchauhan; state: Exp; lines: +1 -0
included stdlib.h for the EXIT_FAILURE macro.
----------------------------
revision 1.1
date: 2016/07/28 05:07:46; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: declarations.h,v
Working file: declarations.h
head: 1.2
branch:
locks: strict
pchauhan: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
opened 'textfile' using openfile()
----------------------------
revision 1.2 locked by: pchauhan;
date: 2016/07/28 10:28:55; author: pchauhan; state: Exp; lines: +2 -0
declared two more fucntions named create_masterarray and code_length
----------------------------
revision 1.1
date: 2016/07/28 09:08:00; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: mdc.c,v
Working file: mdc.c
head: 1.15
branch:
locks: strict
pchauhan: 1.15
access list:
symbolic names:
keyword substitution: kv
total revisions: 15; selected revisions: 15
description:
This is the main file mdc.c
It is aimed at opening a text file named 'textfile'
It also prints the file descriptor for the file opened
We try to track changes in this file
----------------------------
revision 1.15 locked by: pchauhan;
date: 2016/07/28 10:30:44; author: pchauhan; state: Exp; lines: +88 -52
done everything using functions
----------------------------
revision 1.14
date: 2016/07/28 09:14:14; author: pchauhan; state: Exp; lines: +1 -9
corrected an error
----------------------------
revision 1.13
date: 2016/07/28 09:09:23; author: pchauhan; state: Exp; lines: +17 -0
openfile() function used to open the 'textfile' file
----------------------------
revision 1.12
date: 2016/07/28 08:47:15; author: pchauhan; state: Exp; lines: +9 -9
corrected a minute error.
----------------------------
revision 1.11
date: 2016/07/28 08:30:12; author: pchauhan; state: Exp; lines: +26 -9
Found the code length and got it printed
----------------------------
revision 1.10
date: 2016/07/28 08:08:43; author: pchauhan; state: Exp; lines: +24 -6
Found out the unique characters in the array
Print the unique characters as a string
----------------------------
revision 1.9
date: 2016/07/28 06:36:35; author: pchauhan; state: Exp; lines: +3 -2
corrected a syntax error of assignment of end of string character
defined and initialized variable i
Got the output as desired: read, inp
printed and the read characters displayed as a string
----------------------------
revision 1.8
date: 2016/07/28 06:31:29; author: pchauhan; state: Exp; lines: +6 -0
input each character in an array one by one
Print the read characters as a string
----------------------------
revision 1.7
date: 2016/07/28 06:24:02; author: pchauhan; state: Exp; lines: +7 -6
reading characters one by one
----------------------------
revision 1.6
date: 2016/07/28 06:08:25; author: pchauhan; state: Exp; lines: +4 -2
Printing the text read in the form of a string
----------------------------
revision 1.5
date: 2016/07/28 06:06:21; author: pchauhan; state: Exp; lines: +3 -1
Printed the no. of characters read from 'textfile' file.
----------------------------
revision 1.4
date: 2016/07/28 06:02:18; author: pchauhan; state: Exp; lines: +4 -1
Counting the number of characters read from the file
----------------------------
revision 1.3
date: 2016/07/28 05:14:01; author: pchauhan; state: Exp; lines: +1 -1
A syntax error of not including ';' after closing of the file has been rectified.
----------------------------
revision 1.2
date: 2016/07/28 05:12:16; author: pchauhan; state: Exp; lines: +4 -1
We try to add another printf message to track the changes in the main mdc.c file through rcs
----------------------------
revision 1.1
date: 2016/07/28 05:07:53; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: headers.h,v
Working file: headers.h
head: 1.3
branch:
locks: strict
pchauhan: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
This is the headers file for the main mdc file
It includes stdio.h and fcntl.h header files
----------------------------
revision 1.3 locked by: pchauhan;
date: 2016/07/28 10:27:30; author: pchauhan; state: Exp; lines: +1 -0
String.h is included for memset
----------------------------
revision 1.2
date: 2016/07/28 09:07:08; author: pchauhan; state: Exp; lines: +1 -0
included stdlib.h for the EXIT_FAILURE macro.
----------------------------
revision 1.1
date: 2016/07/28 05:07:46; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: declarations.h,v
Working file: declarations.h
head: 1.3
branch:
locks: strict
pchauhan: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
opened 'textfile' using openfile()
----------------------------
revision 1.3 locked by: pchauhan;
date: 2016/07/29 09:21:11; author: pchauhan; state: Exp; lines: +1 -0
included a new function for main menu, namely mainmenu()
----------------------------
revision 1.2
date: 2016/07/28 10:28:55; author: pchauhan; state: Exp; lines: +2 -0
declared two more fucntions named create_masterarray and code_length
----------------------------
revision 1.1
date: 2016/07/28 09:08:00; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: openfile.c,v
Working file: openfile.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This file contains the function openfile() separately
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/07/29 09:36:51; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: create_masterarray.c,v
Working file: create_masterarray.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
It contains the create_masterarray() funtion separately
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/07/29 09:36:51; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: code_length.c,v
Working file: code_length.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
It contains the function code_length() separately
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/07/29 09:36:51; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: mainmenu.c,v
Working file: mainmenu.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This is the file for the main menu of the project and contains mainmenu() function
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/07/29 09:36:51; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: mdc.c,v
Working file: mdc.c
head: 1.19
branch:
locks: strict
pchauhan: 1.19
access list:
symbolic names:
keyword substitution: kv
total revisions: 19; selected revisions: 19
description:
This is the main file mdc.c
It is aimed at opening a text file named 'textfile'
It also prints the file descriptor for the file opened
We try to track changes in this file
----------------------------
revision 1.19 locked by: pchauhan;
date: 2016/07/29 09:21:47; author: pchauhan; state: Exp; lines: +13 -2
Main menu introduced for the project in a new file named mainmenu.c through the function mainmenu()
----------------------------
revision 1.18
date: 2016/07/29 09:00:25; author: pchauhan; state: Exp; lines: +0 -22
Transferred codelength() to a new file code_length.c
----------------------------
revision 1.17
date: 2016/07/29 08:41:57; author: pchauhan; state: Exp; lines: +0 -51
Transferred the create_masterarray() to a new file create_masterarray.c
----------------------------
revision 1.16
date: 2016/07/29 08:28:22; author: pchauhan; state: Exp; lines: +10 -38
Transferred openfile() to a new file openfile.c
----------------------------
revision 1.15
date: 2016/07/28 10:30:44; author: pchauhan; state: Exp; lines: +88 -52
done everything using functions
----------------------------
revision 1.14
date: 2016/07/28 09:14:14; author: pchauhan; state: Exp; lines: +1 -9
corrected an error
----------------------------
revision 1.13
date: 2016/07/28 09:09:23; author: pchauhan; state: Exp; lines: +17 -0
openfile() function used to open the 'textfile' file
----------------------------
revision 1.12
date: 2016/07/28 08:47:15; author: pchauhan; state: Exp; lines: +9 -9
corrected a minute error.
----------------------------
revision 1.11
date: 2016/07/28 08:30:12; author: pchauhan; state: Exp; lines: +26 -9
Found the code length and got it printed
----------------------------
revision 1.10
date: 2016/07/28 08:08:43; author: pchauhan; state: Exp; lines: +24 -6
Found out the unique characters in the array
Print the unique characters as a string
----------------------------
revision 1.9
date: 2016/07/28 06:36:35; author: pchauhan; state: Exp; lines: +3 -2
corrected a syntax error of assignment of end of string character
defined and initialized variable i
Got the output as desired: read, inp
printed and the read characters displayed as a string
----------------------------
revision 1.8
date: 2016/07/28 06:31:29; author: pchauhan; state: Exp; lines: +6 -0
input each character in an array one by one
Print the read characters as a string
----------------------------
revision 1.7
date: 2016/07/28 06:24:02; author: pchauhan; state: Exp; lines: +7 -6
reading characters one by one
----------------------------
revision 1.6
date: 2016/07/28 06:08:25; author: pchauhan; state: Exp; lines: +4 -2
Printing the text read in the form of a string
----------------------------
revision 1.5
date: 2016/07/28 06:06:21; author: pchauhan; state: Exp; lines: +3 -1
Printed the no. of characters read from 'textfile' file.
----------------------------
revision 1.4
date: 2016/07/28 06:02:18; author: pchauhan; state: Exp; lines: +4 -1
Counting the number of characters read from the file
----------------------------
revision 1.3
date: 2016/07/28 05:14:01; author: pchauhan; state: Exp; lines: +1 -1
A syntax error of not including ';' after closing of the file has been rectified.
----------------------------
revision 1.2
date: 2016/07/28 05:12:16; author: pchauhan; state: Exp; lines: +4 -1
We try to add another printf message to track the changes in the main mdc.c file through rcs
----------------------------
revision 1.1
date: 2016/07/28 05:07:53; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: declarations.h,v
Working file: declarations.h
head: 1.10
branch:
locks: strict
pchauhan: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
opened 'textfile' using openfile()
----------------------------
revision 1.10 locked by: pchauhan;
date: 2016/08/13 06:59:57; author: pchauhan; state: Exp; lines: +8 -1
declared various functions :decompression1(),decompression2(),decompression3(),decompression4(),decompression5(),decompression6() and decompression7()
----------------------------
revision 1.9
date: 2016/08/02 06:58:55; author: pchauhan; state: Exp; lines: +1 -1
changes made to the definition of find_index() func
----------------------------
revision 1.8
date: 2016/08/02 06:14:53; author: pchauhan; state: Exp; lines: +1 -1
changed the find_index() definition slightly
----------------------------
revision 1.7
date: 2016/08/01 15:38:58; author: pchauhan; state: Exp; lines: +1 -0
defined the function find_index()
----------------------------
revision 1.6
date: 2016/08/01 11:49:47; author: pchauhan; state: Exp; lines: +1 -1
argument datatype set in compression4()
----------------------------
revision 1.5
date: 2016/08/01 09:49:02; author: pchauhan; state: Exp; lines: +7 -0
compression1(),compression2(),compression3(),compression4(),compression5(),compression6(),compression7() defined
----------------------------
revision 1.4
date: 2016/08/01 08:19:07; author: pchauhan; state: Exp; lines: +2 -0
declared two new functions, compression() and decompression()
----------------------------
revision 1.3
date: 2016/07/29 09:21:11; author: pchauhan; state: Exp; lines: +1 -0
included a new function for main menu, namely mainmenu()
----------------------------
revision 1.2
date: 2016/07/28 10:28:55; author: pchauhan; state: Exp; lines: +2 -0
declared two more fucntions named create_masterarray and code_length
----------------------------
revision 1.1
date: 2016/07/28 09:08:00; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: headers.h,v
Working file: headers.h
head: 1.3
branch:
locks: strict
pchauhan: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
This is the headers file for the main mdc file
It includes stdio.h and fcntl.h header files
----------------------------
revision 1.3 locked by: pchauhan;
date: 2016/07/28 10:27:30; author: pchauhan; state: Exp; lines: +1 -0
String.h is included for memset
----------------------------
revision 1.2
date: 2016/07/28 09:07:08; author: pchauhan; state: Exp; lines: +1 -0
included stdlib.h for the EXIT_FAILURE macro.
----------------------------
revision 1.1
date: 2016/07/28 05:07:46; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: code_length.c,v
Working file: code_length.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
It contains the function code_length() separately
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/07/29 09:36:51; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: compression1.c,v
Working file: compression1.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
just checking in
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/01 09:50:01; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: compression2.c,v
Working file: compression2.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
just checking in
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/01 09:50:14; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: compression3.c,v
Working file: compression3.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
just checking in.
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/01 09:50:22; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: compression4.c,v
Working file: compression4.c
head: 1.18
branch:
locks: strict
pchauhan: 1.18
access list:
symbolic names:
keyword substitution: kv
total revisions: 18; selected revisions: 18
description:
just checking in
----------------------------
revision 1.18 locked by: pchauhan;
date: 2016/08/13 12:04:02; author: pchauhan; state: Exp; lines: +5 -2
added end of file character to the compreesed_file
slight errors removed
----------------------------
revision 1.17
date: 2016/08/13 07:01:11; author: pchauhan; state: Exp; lines: +11 -9
changed "%d" to "%c" in sprintf
also declared 'c' and 'byt' variables as unsigned char type to rectify the error
----------------------------
revision 1.16
date: 2016/08/12 10:08:09; author: pchauhan; state: Exp; lines: +2 -2
checking error
----------------------------
revision 1.15
date: 2016/08/12 10:05:08; author: pchauhan; state: Exp; lines: +7 -1
end of file character added to the compressed_file
----------------------------
revision 1.14
date: 2016/08/12 07:00:44; author: pchauhan; state: Exp; lines: +10 -3
made slight apperance changes
----------------------------
revision 1.13
date: 2016/08/12 06:11:57; author: pchauhan; state: Exp; lines: +2 -1
declaration error rectified
----------------------------
revision 1.12
date: 2016/08/12 06:08:58; author: pchauhan; state: Exp; lines: +6 -2
written the masterarray into a new file called encryption_key
----------------------------
revision 1.11
date: 2016/08/02 07:12:28; author: pchauhan; state: Exp; lines: +4 -4
*** empty log message ***
----------------------------
revision 1.10
date: 2016/08/02 07:10:56; author: pchauhan; state: Exp; lines: +4 -0
checking the characters and index values through printf.
----------------------------
revision 1.9
date: 2016/08/02 06:59:22; author: pchauhan; state: Exp; lines: +9 -17
removed some logical errors
----------------------------
revision 1.8
date: 2016/08/02 06:18:57; author: pchauhan; state: Exp; lines: +2 -1
forgot to add close(cfd) statement.
----------------------------
revision 1.7
date: 2016/08/02 06:15:23; author: pchauhan; state: Exp; lines: +23 -5
added read function here instead of in the find_index.c
----------------------------
revision 1.6
date: 2016/08/02 05:54:35; author: pchauhan; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.5
date: 2016/08/02 05:37:12; author: pchauhan; state: Exp; lines: +2 -2
added the exor bitwise manipulation of byt variable to the while loop
----------------------------
revision 1.4
date: 2016/08/02 05:24:04; author: pchauhan; state: Exp; lines: +1 -1
removed an extra variable
----------------------------
revision 1.3
date: 2016/08/01 15:39:26; author: pchauhan; state: Exp; lines: +23 -26
completed writing the program, checking the outcome
----------------------------
revision 1.2
date: 2016/08/01 11:50:16; author: pchauhan; state: Exp; lines: +28 -1
started working on the algo
----------------------------
revision 1.1
date: 2016/08/01 09:50:30; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: compression5.c,v
Working file: compression5.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
just checking in
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/01 09:50:36; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: compression6.c,v
Working file: compression6.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
just checking in
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/01 09:50:50; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: compression7.c,v
Working file: compression7.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
just checking in
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/01 09:50:59; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: compression.c,v
Working file: compression.c
head: 1.8
branch:
locks: strict
pchauhan: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
opened the file
read it and created masterarray
found out code length
----------------------------
revision 1.8 locked by: pchauhan;
date: 2016/08/12 06:02:38; author: pchauhan; state: Exp; lines: +1 -1
corrected the ndc value
----------------------------
revision 1.7
date: 2016/08/12 06:01:11; author: pchauhan; state: Exp; lines: +1 -0
trying to get the ndc printed to verify
----------------------------
revision 1.6
date: 2016/08/01 15:40:14; author: pchauhan; state: Exp; lines: +2 -4
removed close file function
----------------------------
revision 1.5
date: 2016/08/01 11:50:30; author: pchauhan; state: Exp; lines: +1 -6
still working on the logic
----------------------------
revision 1.4
date: 2016/08/01 10:03:35; author: pchauhan; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.3
date: 2016/08/01 10:00:49; author: pchauhan; state: Exp; lines: +2 -2
a little rectification
----------------------------
revision 1.2
date: 2016/08/01 09:51:05; author: pchauhan; state: Exp; lines: +33 -2
switch case for the code length to call the relevant compression function to perform compression
----------------------------
revision 1.1
date: 2016/08/01 08:19:44; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: create_masterarray.c,v
Working file: create_masterarray.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
It contains the create_masterarray() funtion separately
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/07/29 09:36:51; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: decompression2.c,v
Working file: decompression2.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
created the file
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/13 07:06:28; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: decompression3.c,v
Working file: decompression3.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
created the file
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/13 07:06:45; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: decompression4.c,v
Working file: decompression4.c
head: 1.3
branch:
locks: strict
pchauhan: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
still working
----------------------------
revision 1.3 locked by: pchauhan;
date: 2016/08/13 12:04:49; author: pchauhan; state: Exp; lines: +3 -3
completed algorithm
----------------------------
revision 1.2
date: 2016/08/13 07:07:05; author: pchauhan; state: Exp; lines: +48 -2
did the decompression
----------------------------
revision 1.1
date: 2016/08/12 10:05:39; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: decompression5.c,v
Working file: decompression5.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
created the file
created the file
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/13 07:07:23; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: decompression6.c,v
Working file: decompression6.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
created the file.
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/13 07:07:36; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: decompression7.c,v
Working file: decompression7.c
head: 1.1
branch:
locks: strict
pchauhan: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
created the file.
----------------------------
revision 1.1 locked by: pchauhan;
date: 2016/08/13 07:07:44; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: decompression.c,v
Working file: decompression.c
head: 1.7
branch:
locks: strict
pchauhan: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
Just checking in
----------------------------
revision 1.7 locked by: pchauhan;
date: 2016/08/13 07:07:52; author: pchauhan; state: Exp; lines: +63 -7
re-created the master array
calculated the code length using code_length()
----------------------------
revision 1.6
date: 2016/08/12 10:05:50; author: pchauhan; state: Exp; lines: +13 -1
*** empty log message ***
----------------------------
revision 1.5
date: 2016/08/12 07:01:06; author: pchauhan; state: Exp; lines: +7 -1
started working
----------------------------
revision 1.4
date: 2016/08/01 11:50:51; author: pchauhan; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.3
date: 2016/08/01 08:36:47; author: pchauhan; state: Exp; lines: +1 -1
a little bit more change in display
----------------------------
revision 1.2
date: 2016/08/01 08:33:54; author: pchauhan; state: Exp; lines: +1 -1
changed the display format a bit
----------------------------
revision 1.1
date: 2016/08/01 08:20:46; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: find_index.c,v
Working file: find_index.c
head: 1.8
branch:
locks: strict
pchauhan: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
created the find_index() function separately here
----------------------------
revision 1.8 locked by: pchauhan;
date: 2016/08/02 06:59:43; author: pchauhan; state: Exp; lines: +9 -15
some logic changes
----------------------------
revision 1.7
date: 2016/08/02 06:15:55; author: pchauhan; state: Exp; lines: +3 -12
removed read file function from here
----------------------------
revision 1.6
date: 2016/08/02 05:54:37; author: pchauhan; state: Exp; lines: +1 -0
*** empty log message ***
----------------------------
revision 1.5
date: 2016/08/02 05:51:29; author: pchauhan; state: Exp; lines: +0 -2
*** empty log message ***
----------------------------
revision 1.4
date: 2016/08/02 05:47:25; author: pchauhan; state: Exp; lines: +9 -9
trying to make the logic work with slight changes
----------------------------
revision 1.3
date: 2016/08/01 15:48:11; author: pchauhan; state: Exp; lines: +1 -1
another error rectified
----------------------------
revision 1.2
date: 2016/08/01 15:46:28; author: pchauhan; state: Exp; lines: +3 -3
rectified a syntax error
----------------------------
revision 1.1
date: 2016/08/01 15:40:38; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: mainmenu.c,v
Working file: mainmenu.c
head: 1.4
branch:
locks: strict
pchauhan: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
This is the file for the main menu of the project and contains mainmenu() function
----------------------------
revision 1.4 locked by: pchauhan;
date: 2016/07/30 12:46:09; author: pchauhan; state: Exp; lines: +1 -0
*** empty log message ***
----------------------------
revision 1.3
date: 2016/07/30 12:44:39; author: pchauhan; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.2
date: 2016/07/30 12:19:36; author: pchauhan; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.1
date: 2016/07/29 09:36:51; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: mdc.c,v
Working file: mdc.c
head: 1.24
branch:
locks: strict
pchauhan: 1.24
access list:
symbolic names:
keyword substitution: kv
total revisions: 24; selected revisions: 24
description:
This is the main file mdc.c
It is aimed at opening a text file named 'textfile'
It also prints the file descriptor for the file opened
We try to track changes in this file
----------------------------
revision 1.24 locked by: pchauhan;
date: 2016/08/01 10:36:10; author: pchauhan; state: Exp; lines: +1 -1
removed unnecessary variable declarations
----------------------------
revision 1.23
date: 2016/08/01 09:52:16; author: pchauhan; state: Exp; lines: +8 -3
just a few display changes
----------------------------
revision 1.22
date: 2016/08/01 08:23:34; author: pchauhan; state: Exp; lines: +3 -3
syntax error rectified in switch case
----------------------------
revision 1.21
date: 2016/08/01 08:21:25; author: pchauhan; state: Exp; lines: +10 -18
where choice of the user is read to determine which function to perform
----------------------------
revision 1.20
date: 2016/07/30 11:35:50; author: pchauhan; state: Exp; lines: +13 -10
Properly implemented the main function (a minute correction)
----------------------------
revision 1.19
date: 2016/07/29 09:21:47; author: pchauhan; state: Exp; lines: +13 -2
Main menu introduced for the project in a new file named mainmenu.c through the function mainmenu()
----------------------------
revision 1.18
date: 2016/07/29 09:00:25; author: pchauhan; state: Exp; lines: +0 -22
Transferred codelength() to a new file code_length.c
----------------------------
revision 1.17
date: 2016/07/29 08:41:57; author: pchauhan; state: Exp; lines: +0 -51
Transferred the create_masterarray() to a new file create_masterarray.c
----------------------------
revision 1.16
date: 2016/07/29 08:28:22; author: pchauhan; state: Exp; lines: +10 -38
Transferred openfile() to a new file openfile.c
----------------------------
revision 1.15
date: 2016/07/28 10:30:44; author: pchauhan; state: Exp; lines: +88 -52
done everything using functions
----------------------------
revision 1.14
date: 2016/07/28 09:14:14; author: pchauhan; state: Exp; lines: +1 -9
corrected an error
----------------------------
revision 1.13
date: 2016/07/28 09:09:23; author: pchauhan; state: Exp; lines: +17 -0
openfile() function used to open the 'textfile' file
----------------------------
revision 1.12
date: 2016/07/28 08:47:15; author: pchauhan; state: Exp; lines: +9 -9
corrected a minute error.
----------------------------
revision 1.11
date: 2016/07/28 08:30:12; author: pchauhan; state: Exp; lines: +26 -9
Found the code length and got it printed
----------------------------
revision 1.10
date: 2016/07/28 08:08:43; author: pchauhan; state: Exp; lines: +24 -6
Found out the unique characters in the array
Print the unique characters as a string
----------------------------
revision 1.9
date: 2016/07/28 06:36:35; author: pchauhan; state: Exp; lines: +3 -2
corrected a syntax error of assignment of end of string character
defined and initialized variable i
Got the output as desired: read, inp
printed and the read characters displayed as a string
----------------------------
revision 1.8
date: 2016/07/28 06:31:29; author: pchauhan; state: Exp; lines: +6 -0
input each character in an array one by one
Print the read characters as a string
----------------------------
revision 1.7
date: 2016/07/28 06:24:02; author: pchauhan; state: Exp; lines: +7 -6
reading characters one by one
----------------------------
revision 1.6
date: 2016/07/28 06:08:25; author: pchauhan; state: Exp; lines: +4 -2
Printing the text read in the form of a string
----------------------------
revision 1.5
date: 2016/07/28 06:06:21; author: pchauhan; state: Exp; lines: +3 -1
Printed the no. of characters read from 'textfile' file.
----------------------------
revision 1.4
date: 2016/07/28 06:02:18; author: pchauhan; state: Exp; lines: +4 -1
Counting the number of characters read from the file
----------------------------
revision 1.3
date: 2016/07/28 05:14:01; author: pchauhan; state: Exp; lines: +1 -1
A syntax error of not including ';' after closing of the file has been rectified.
----------------------------
revision 1.2
date: 2016/07/28 05:12:16; author: pchauhan; state: Exp; lines: +4 -1
We try to add another printf message to track the changes in the main mdc.c file through rcs
----------------------------
revision 1.1
date: 2016/07/28 05:07:53; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file: openfile.c,v
Working file: openfile.c
head: 1.2
branch:
locks: strict
pchauhan: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
This file contains the function openfile() separately
----------------------------
revision 1.2 locked by: pchauhan;
date: 2016/07/30 12:30:52; author: pchauhan; state: Exp; lines: +1 -1
*** empty log message ***
----------------------------
revision 1.1
date: 2016/07/29 09:36:51; author: pchauhan; state: Exp;
Initial revision
=============================================================================
RCS file:
header.h,v
Working file: header.h
head: 1.1
branch:
locks: strict
psonawane: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected
revisions: 1
description:
ci is done for header.h
----------------------------
revision 1.1 locked by:
psonawane;
date: 2016/07/29 05:45:11; author:
psonawane; state: Exp;
Initial revision
=============================================================================
RCS file: decleration.h,v
Working file: decleration.h
head: 1.1
branch:
locks: strict
psonawane: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected
revisions: 1
description:
this is check in file
----------------------------
revision 1.1 locked by:
psonawane;
date: 2016/07/30 05:26:53; author:
psonawane; state: Exp;
Initial revision
=============================================================================
RCS file: code.c,v
Working file: code.c
head: 1.2
branch:
locks: strict
psonawane: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected
revisions: 2
description:
this is the check in file
----------------------------
revision 1.2 locked by:
psonawane;
date: 2016/07/31 05:23:16; author:
psonawane; state: Exp; lines: +1 -0
this is chek in file
----------------------------
revision 1.1
date: 2016/07/30 05:03:55; author:
psonawane; state: Exp;
Initial revision
=============================================================================
RCS file: code.c,v
Working file: code.c
head: 1.2
branch:
locks: strict
psonawane: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected
revisions: 2
description:
this is the check in file
----------------------------
revision 1.2 locked by:
psonawane;
date: 2016/07/31 05:23:16; author:
psonawane; state: Exp; lines: +1 -0
this is chek in file
----------------------------
revision 1.1
date: 2016/07/30 05:03:55; author:
psonawane; state: Exp;
Initial revision
=============================================================================
RCS file: openfile.c,v
Working file: openfile.c
head: 1.1
branch:
locks: strict
psonawane: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected
revisions: 1
description:
this is the openfile with check in
----------------------------
revision 1.1 locked by:
psonawane;
date: 2016/07/31 05:24:11; author:
psonawane; state: Exp;
Initial revision
=============================================================================
RCS file:
masterarray.c,v
Working file: masterarray.c
head: 1.1
branch:
locks: strict
psonawane: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected
revisions: 1
description:
this is the masterarray file with check in
----------------------------
revision 1.1 locked by:
psonawane;
date: 2016/07/31 05:23:50; author:
psonawane; state: Exp;
Initial revision
=============================================================================
RCS file: codelength.c,v
Working file: codelength.c
head: 1.1
branch:
locks: strict
psonawane: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected
revisions: 1
description:
this is codelength check in file
----------------------------
revision 1.1 locked by:
psonawane;
date: 2016/07/31 05:23:32; author:
psonawane; state: Exp;
Initial revision
=============================================================================
It looks like you're new here. If you want to get involved, click one of these buttons!