EmbLogic's Blog

mdc : completed upto code length calculation.

1
2 RCS file: mdc.c,v
3 Working file: mdc.c
4 head: 1.9
5 branch:
6 locks: strict
7 access list:
8 symbolic names:
9 keyword substitution: kv
10 total revisions: 9;     selected revisions: 9
11 description:
12 Creating the rcs file
13 first run
14 —————————-
15 revision 1.9
16 date: 2014/06/29 20:11:56;  author: root;  state: Exp;  lines: +31 -0
17 added cal_codeLength() to header.h (calculate the code length for a given no. of distinct characters).
18 implemented the cal_codeLength() function.
19 output : as intended; printed the correct code length.
20 —————————-
21 revision 1.8
22 date: 2014/06/29 19:55:27;  author: root;  state: Exp;  lines: +7 -2
23 solved the problem from the previous revision.
24 converted the characters to lower case before adding them to the master array.
25 program executed successfully.
26 —————————-
27 revision 1.7
28 date: 2014/06/29 19:50:33;  author: root;  state: Exp;  lines: +1 -0
29 problem : the addition of the characters to the masterArray is case sensitive.
30              “I” and “i” are treated as different characters.
31 change :
32              added the <ctype.h> header file in header.h
33 —————————-
34 revision 1.6
“log_file” 68L, 2747C                                                                                                               1,0-1         Top

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>