EmbLogic's Blog

master array created and calculated the code length using functions…

 

RCS file: header.h,v
Working file: header.h
head: 1.5
branch:
locks: strict
	root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
It includes all the header files.
----------------------------
revision 1.5	locked by: root;
date: 2015/02/09 17:33:17;  author: root;  state: Exp;  lines: +2 -0
prototype for code_length() is provided.
----------------------------
revision 1.4
date: 2015/02/09 17:29:11;  author: root;  state: Exp;  lines: +1 -0
added string.h for strlen.
----------------------------
revision 1.3
date: 2015/02/09 17:27:27;  author: root;  state: Exp;  lines: +2 -0
prototype for master_array() is provided
----------------------------
revision 1.2
date: 2015/02/09 17:12:12;  author: root;  state: Exp;  lines: +2 -0
prototype of open_file() is provided.
----------------------------
revision 1.1
date: 2015/02/07 16:08:36;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: mdc.c,v
Working file: mdc.c
head: 1.12
branch:
locks: strict
	root: 1.12
access list:
symbolic names:
keyword substitution: kv
total revisions: 12;	selected revisions: 12
description:
It is a program for multiple data compression and encryption using iterative technique.
----------------------------
revision 1.12	locked by: root;
date: 2015/02/09 17:33:40;  author: root;  state: Exp;  lines: +21 -12
defined and called the function named code_length()
----------------------------
revision 1.11
date: 2015/02/09 17:30:03;  author: root;  state: Exp;  lines: +1 -0
string is ended using ''
----------------------------
revision 1.10
date: 2015/02/09 17:28:02;  author: root;  state: Exp;  lines: +52 -39
defined and called the master_array().
----------------------------
revision 1.9
date: 2015/02/09 17:13:20;  author: root;  state: Exp;  lines: +14 -7
defined and called the function open_file()
----------------------------
revision 1.8
date: 2015/02/07 16:30:36;  author: root;  state: Exp;  lines: +1 -1
printf() statement is updated for printing cl.
';' is added.
----------------------------
revision 1.7
date: 2015/02/07 16:29:55;  author: root;  state: Exp;  lines: +16 -1
Calculated the code length for the master array.
----------------------------
revision 1.6
date: 2015/02/07 16:25:20;  author: root;  state: Exp;  lines: +1 -0
for loop is closed using '}' which was not closed earlier.
----------------------------
revision 1.5
date: 2015/02/07 16:23:15;  author: root;  state: Exp;  lines: +24 -8
Each new character read from a file is compared with each character in ma to store only the unique characters in the master array.
----------------------------
revision 1.4
date: 2015/02/07 16:18:28;  author: root;  state: Exp;  lines: +1 -1
printf statement is updated for printing the ma .
----------------------------
revision 1.3
date: 2015/02/07 16:16:24;  author: root;  state: Exp;  lines: +18 -2
Now i have copied the content of a file in a array named ma.
Initially i have allocated a memory for a single character using malloc().
After that i have reallocated a new memory for each new character using realloc function.
----------------------------
revision 1.2
date: 2015/02/07 16:11:02;  author: root;  state: Exp;  lines: +13 -1
I have opened a file using open function and command line arguments.
Also i have read the characters one by one from a file using read function in while loop.
----------------------------
revision 1.1
date: 2015/02/07 16:08:36;  author: root;  state: Exp;
Initial revision
=============================================================================

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>