EmbLogic's Blog

LOG FILE OF MDC AT CREATE THE COMPREES FILE

rlog mdc.c RCS file: mdc.c,v Working file: mdc.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: read the content of file master array ha created code length has also found master array has saved in another file —————————- revision 1.3 locked by: root; date: 2015/06/25 17:25:42; author: root; state: Exp; lines: +3 -9 create a compress file created a header file “header.h” included in main —————————- revision 1.2 date: 2015/06/25 14:44:12; author: root; state: Exp; lines: +1 -2 using realloc create the master array —————————- revision 1.1 date: 2015/06/25 14:32:21; author: root; state: Exp; Initial revision

Posted in Uncategorized | Leave a comment

POINTER

I knew the real definition of pointer . it is a variable that stores the logical address not physical address.

Posted in Uncategorized | Leave a comment

C and natural languages

 Learning C language is very analogous to learn our natural language. As we learn first of all the character set of a natural language, C has also its character set. Word is the meaningful combination of the characters, in C these are called identifiers. A meaningful collection of word is phrase, in C word is analogous to a expression. A set of phrases is called a sentence, in C sentence is called statement. The set of sentences creates a paragraph, and set of statements is called program. The set of programs is called software. Every language has its own grammer which must be followed to write anything in that language, so programming languages have also their own grammers for writting softwares.

Posted in Uncategorized | Leave a comment

My log

RCS file: header.h,v
Working file: header.h
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
It contains the various headers files and different function calls which are used in the entire program.
—————————-
revision 1.1
date: 2015/06/25 17:34:43; author: ankit; state: Exp;
Initial revision
=============================================================================

RCS file: mdc.c,v
Working file: mdc.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
This set of codes open the source to read the characters.
It counts the number of characters in the source file.
It generates the encryption key file containing the unique characters.
It calculates the length of the code(in bits).
We generates our own code for each character.
—————————-
revision 1.2
date: 2015/06/25 17:40:26; author: ankit; state: Exp; lines: +1 -0
A comment is added before the write_file() function definition.
—————————-
revision 1.1
date: 2015/06/25 17:23:36; author: ankit; state: Exp;
Initial revision
=============================================================================

RCS file: encp.c,v
Working file: encp.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This set of codes reads the source and encryption_key files to read each character.
It generates the code for each character of the source file according to the index in the encryption key file.
Source file will be compressed and encrypted.
Compressed file will be stored in file ‘cfile’.
—————————-
revision 1.1
date: 2015/06/25 17:31:21; author: ankit; state: Exp;
Initial revision
=============================================================================

Posted in Project 2: Multiple Data Compression and Encryption | Leave a comment

RCS Log File

RCS file: mdc.c,v
Working file: mdc.c
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
Unique Master Array is being created using functions and pointers
countred the codelength of the unique master array
saved the master array in a new file
—————————-
revision 1.5
date: 2015/06/25 17:04:13; author: root; state: Exp; lines: +0 -1
compress function is written in a file other than the main file
And Linked to the mdc.c file.
—————————-
revision 1.4
date: 2015/06/25 14:30:43; author: root; state: Exp; lines: +6 -11
created a new header file named header.h
header.h is included in the main using #include”header.h”
—————————-
revision 1.3
date: 2015/06/25 12:51:34; author: root; state: Exp; lines: +2 -2
Debugged the program using GDB Debugger
REemoved the segmentation fault
—————————-
revision 1.2
date: 2015/06/25 12:47:56; author: root; state: Exp; lines: +5 -3
Created unique master array using realloc
found out segmentation fault
—————————-
revision 1.1
date: 2015/06/25 10:06:14; author: root; state: Exp;
Initial revision

Posted in Project 2: Multiple Data Compression and Encryption, Uncategorized | Leave a comment

Mdceit project with RCS and multiple file declaration

RCS file: openfile_1.c,v
Working file: openfile_1.c
head: 1.4
branch:
locks: strict
eblogic: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;    selected revisions: 5
description:
Unique master array created using malloc
code length found using functions.
—————————-
revision 1.4    locked by: eblogic;
date: 2015/06/25 12:54:40;  author: eblogic;  state: Exp;  lines: +1 -21
split the file
create header.h file and place all header files from openfile_1 to header.h file
declare compression function definition in different file with name compression.c
In header.h file declare the compression function prototype as extern.
—————————-
revision 1.3
date: 2015/06/25 10:18:19;  author: eblogic;  state: Exp;  lines: +2 -2
Remove the malloc function and recreate the master array using realloc function.
—————————-
revision 1.2
date: 2015/06/25 09:25:21;  author: eblogic;  state: Exp;  lines: +1 -1
remove the comment from the malloc command
—————————-
revision 1.1
date: 2015/06/25 09:17:25;  author: eblogic;  state: Exp;
branches:  1.1.1;
Initial revision
—————————-
revision 1.1.1.1
date: 2015/06/25 12:01:33;  author: eblogic;  state: Exp;  lines: +1 -1
enter comment on already commented line

Posted in Uncategorized | Leave a comment

MDC project

RCS file: mdc.c,v
Working file: mdc.c
head: 1.3
branch:
locks: strict
emblogic: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
Created Masterarray.
Found the code length.
—————————-
revision 1.3 locked by: emblogic;
date: 2015/06/25 19:27:33; author: emblogic; state: Exp; lines: +1 -0
Compression() is added.
—————————-
revision 1.2
date: 2015/06/25 19:15:50; author: emblogic; state: Exp; lines: +1 -8
Header has been made.
Prototypes are present in other file.
—————————-
revision 1.1
date: 2015/06/25 19:06:16; author: emblogic; state: Exp;
Initial revision
=============================================================================
~
~
~
~
~
~
“rlogfile” 28L, 770C 1,0-1 All

RCS file: header.h,v
Working file: header.h
head: 1.2
branch:
locks: strict
emblogic: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
Header file and prototype for mdc project.
—————————-
revision 1.2 locked by: emblogic;
date: 2015/06/25 19:24:13; author: emblogic; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.1
date: 2015/06/25 19:20:46; author: emblogic; state: Exp;
Initial revision
=============================================================================
~
~
~
~
~
~
~
~
~
~
~
~
“rlogfile” 22L, 602C 1,0-1 All

Posted in Data Structures with C | Leave a comment

logfile for mdc till 25 june 2015

RCS file: mdc.c,v
3 Working file: mdc.c
4 head: 1.5
5 branch:
6 locks: strict
7 access list:
8 symbolic names:
9 keyword substitution: kv
10 total revisions: 5;     selected revisions: 5
11 description:
12 Unique array and codelength areprinted using functions.
13 Functions are created using pointer
14 Memory is allocated using malloc.
15 Compression() not working
16 header.h is created.
17 —————————-
18 revision 1.5
19 date: 2015/06/26 13:10:19;  author: emblogic;  state: Exp;  lines: +3 -1
20 Recreate the master array using realloc().
21 —————————-
22 revision 1.4
23 date: 2015/06/26 12:44:33;  author: emblogic;  state: Exp;  lines: +11 -11
24 compression function is made a comment.
25 —————————-
26 revision 1.3
27 date: 2015/06/26 11:41:54;  author: emblogic;  state: Exp;  lines: +3 -3
28 Unique array is save using command line.
29 —————————-
revision 1.2
31 date: 2015/06/26 11:37:13;  author: emblogic;  state: Exp;  lines: +7 -7
32 Command line argument of file1 created
33 —————————-
34 revision 1.1
35 date: 2015/06/26 11:26:27;  author: emblogic;  state: Exp;
36 Initial revision
37 =============================================================================

Posted in Data Structures with C | Leave a comment

MDC project

Working file: comperession.c
head: 1.1
branch:
locks: strict
emblogic-19: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;     selected revisions: 1
description:
compress the master array
—————————-
revision 1.1    locked by: emblogic-19;
date: 2002/01/01 03:35:03;  author: emblogic-19;  state: Exp;
Initial revision

 

 

RCS file: mdc.c,v
Working file: mdc.c
head: 1.2
branch:
locks: strict
emblogic-19: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
creating master arrary using pointer
—————————-
revision 1.2    locked by: emblogic-19;
date: 2002/01/01 03:33:08;  author: emblogic-19;  state: Exp;  lines: +21 -18
capturing the compression file
—————————-
revision 1.1
date: 2002/01/01 01:23:25;  author: emblogic-19;  state: Exp;
Initial revision

 

 

RCS file: header.h,v
Working file: header.h
head:
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 0
description:
enter the all prototype

Posted in Project 2: Multiple Data Compression and Encryption | Leave a comment

MDC project work

RCS file: mdc.c,v
Working file: mdc.c
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
implemented using pointes,but without using functions.
—————————-
revision 1.3    locked by: root;
date: 2015/06/25 11:59:18;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.2
date: 2015/06/25 11:19:40;  author: root;  state: Exp;  lines: +1 -1
taking input via command line arguments.
—————————-
revision 1.1
date: 2015/06/25 10:39:09;  author: root;  state: Exp;
Initial revision
=============================================================================

Posted in Uncategorized | Leave a comment

MDC Project

Learnt to use GDB debugger and source code control commands – RCS. Also we got to know that how to include an externally defined function into the main file

Posted in Project 2: Multiple Data Compression and Encryption, Uncategorized | Leave a comment

pointer

difference b\w *a[5]&*(a[5])?

 

 

Posted in Uncategorized | Leave a comment

pointer

I am enjoying  to attempt my pointer assignment.

Posted in Uncategorized | Leave a comment

Array

Arrray is containe multiple value with same data type and contain continuous address.
E.g.if we consider a[10] then it take 0 to 9 continuous address.

Posted in Uncategorized | Leave a comment

mdc project

we discuss in class about the  multiple data compression  project with revision control  system & gbd.

Posted in Uncategorized | Leave a comment