EmbLogic's Blog

Category Archives: Project 2: Multiple Data Compression and Encryption

In computer science and information theory, data compression, source coding, or bit-rate reduction involves encoding information using fewer bits than the original representation. Compression can be either be lossy or lossless. Lossless compression reduces bits by identifying and eliminating statistical redundancy. No information is lost in lossless compression. Lossy compression reduces bits by identifying marginally important information and removing it. The process of reducing the size of a data file is popularly referred to as data compression, although its formal name is source coding (coding done at the source of the data, before it is stored or transmitted).

Reading file in Multiple Data Compression Using Iterative Technique

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: in this we have included base header file stdio.h —————————- revision 1.2 locked … Continue reading

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

I have created master array successfully

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: header file for mdc.c —————————- revision 1.1 locked by: root; date: 2015/02/02 08:35:46; … Continue reading

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

4-bit compression completed

RCS file: mdc.c,v Working file: mdc.c head: 1.45 branch: locks: strict root: 1.45 access list: symbolic names: keyword substitution: kv total revisions: 45; selected revisions: 45 description: create a base code for multiple data compression and encryption using iterative technique … Continue reading

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

Header file for MDC project

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: create header file for multiple data compression and encryption using iterative technique —————————- … Continue reading

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

Master array for data compression is created

RCS file: mdc.c,v Working file: mdc.c head: 1.32 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 32; selected revisions: 32 description: create a base code for multiple data compression and encryption using iterative technique —————————- revision … Continue reading

Posted in Data Structures with C, Project 2: Multiple Data Compression and Encryption | Leave a comment

MDC project output:

Final output of MDC project: (In readd) (In chkfile) file read successfully as fd is 5 (In printfile) the size of the file is:47 the content is in the file: when the going gets tough the tough gets going (In … Continue reading

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

Multiple Data Compression & Encryption using Ittrative Techniques

RCS file: mdc.c,v Working file: mdc.c head: 1.20 branch: locks: strict root: 1.20 access list: symbolic names: keyword substitution: kv total revisions: 20; selected revisions: 20 description: Main function Of MDC —————————- revision 1.20 locked by: root; date: 2014/09/19 19:43:44; … Continue reading

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

unichar function for MDCEUIT

RCS file: mdcmain.c,v Working file: mdcmain.c head: 1.8 branch: locks: strict root: 1.8 access list: symbolic names: keyword substitution: kv total revisions: 8; selected revisions: 8 description: main function for MDC project —————————- revision 1.8 locked by: root; date: 2014/09/19 … Continue reading

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

functions file for MDC completed

RCS file: func.c,v Working file: func.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: MDC functions —————————- revision 1.1 locked by: root; date: 2014/09/17 03:02:24; author: root; … Continue reading

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

Completed MDC (Multiple data compression) in ‘c’

RCS file: RCS/header.h,v Working file: header.h head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3;    selected revisions: 3 description: All header file are included in this file —————————- revision 1.3 date: 2014/08/30 20:12:53;  author: … Continue reading

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

MDC completed (upto 2 bit,4 bit compression/decompression)

RCS file: ./mdc_using_functions.c,v Working file: ./mdc_using_functions.c head: 1.26 branch: locks: strict root: 1.26 access list: symbolic names: keyword substitution: kv total revisions: 26;    selected revisions: 26 description: reading characters from the file & adding to the master array —————————- revision … Continue reading

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

Queue : using array (enque, deque, search, traverse)

1 2 RCS file: main.c,v 3 Working file: main.c 4 head: 1.8 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 8;     selected revisions: 8 11 description: 12 Implementing queue operations … Continue reading

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

4-bit compression

1 2 RCS file: mdc.c,v 3 Working file: mdc.c 4 head: 1.33 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 33;    selected revisions: 33 11 description: 12 Creating the rcs … Continue reading

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

Completed the mdc for all bits, from 1 to 8

After working on mdc for 2 weeks, now I have completed it. Using general function for compression and decompression. After n number of iterations, the code length has been reduced to 136 written lines. I am trying to reduce it … Continue reading

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

adding two distances in feet and inches using functions and structure pointers

header file********************************************************************* #include<stdio.h> #include<stdlib.h> struct distance {    int feet; int inches; }; int display(struct distance *,struct distance *,struct distance *); struct distance * add(struct distance *,struct distance *); struct distance * input(); ************************************************************************** main file****************************************************************** #include”header.h” int main() { struct … Continue reading

Posted in Data Structures with C, Project 2: Multiple Data Compression and Encryption | Leave a comment