EmbLogic's Blog

Create different function in MDC

RCS file: projectmdc.c,v
Working file: projectmdc.c
head: 1.13
branch:
locks: strict
	root: 1.13
access list:
symbolic names:
keyword substitution: kv
total revisions: 13;	selected revisions: 13
description:
Introduce header.h file
create datain_file text file and open the
content through file decriptor
read the content from datain_file text file
Use the argc to count the no. of arguements
And argv to store the string in argv array
----------------------------
revision 1.13	locked by: root;
date: 2015/02/09 19:31:30;  author: root; 
state: Exp;  lines: +8 -7
create readchar() function to read the 'ch' from
file and compress the data
create no_of_bits() function to how much bits
are required for compress data
create file_open() function to fetch the first
arguement
----------------------------
revision 1.12
date: 2015/02/09 19:18:10;  author: root; 
state: Exp;  lines: +70 -66
Introduce function in MDC
convert codes into smaller function
----------------------------
revision 1.11
date: 2015/02/05 14:40:28;  author: root; 
state: Exp;  lines: +30 -1
Design the logic for how many data bits are
required for compressed data
by using if else condition
----------------------------
revision 1.10
date: 2015/02/05 13:47:56;  author: root; 
state: Exp;  lines: +3 -2
Now, count the number of compressed character
----------------------------
revision 1.9
date: 2015/02/05 13:39:25;  author: root; 
state: Exp;  lines: +1 -1
introduce break in flag = 0.
----------------------------
revision 1.8
date: 2015/02/05 13:30:27;  author: root; 
state: Exp;  lines: +21 -10
Now able to compress the data in datain_file

read data from file and compare it with master
array
introduce flags
----------------------------
revision 1.7
date: 2015/02/05 11:56:06;  author: root; 
state: Exp;  lines: +4 -4
modified the program just change the value of
charc
change the malloc arguement
----------------------------
revision 1.6
date: 2015/02/05 11:32:07;  author: root; 
state: Exp;  lines: +19 -18
Introduce malloc and realloc function
read character one by one and realloc the memory
successfully
introduce master array and print string on
display
----------------------------
revision 1.5
date: 2015/02/05 10:47:13;  author: root; 
state: Exp;  lines: +1 -1
change the format specifier in argv1
----------------------------
revision 1.4
date: 2015/02/05 10:46:12;  author: root; 
state: Exp;  lines: +1 -1
*** empty log message ***
----------------------------
revision 1.3
date: 2015/02/05 10:43:10;  author: root; 
state: Exp;  lines: +25 -8
*** empty log message ***
----------------------------
revision 1.2
date: 2015/02/05 08:25:39;  author: root; 
state: Exp;  lines: +7 -2
just checking the arguement
----------------------------
revision 1.1
date: 2015/02/04 11:00:43;  author: root; 
state: Exp;
Initial revision
=============================================================================

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:
create a seperate header.h file to store header
file indiviually
access this header file in projectmdc.c file
----------------------------
revision 1.1	locked by: root;
date: 2015/02/04 11:15:02;  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>