EmbLogic's Blog

Category Archives: Data Structures with C

C assignment no .3

RCS file: 1,v Working file: 1 head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: understand the need of C language. —————————- revision 1.1 locked by: root; date: … Continue reading

Posted in Data Structures with C | Leave a comment

C assignment no.2

RCS file: 1.c,v Working file: 1.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: print hello world / —————————- revision 1.2 locked by: root; date: 2014/10/22 15:57:31; … Continue reading

Posted in Data Structures with C | Leave a comment

C assignment no.1

RCS file: 1.c,v Working file: 1.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: use of printf to print data on screen —————————- revision 1.1 locked by: … Continue reading

Posted in Data Structures with C | Leave a comment

Program that create a file with 4k bytes free space.

Program that create a file with 4k bytes free space. RCS file: file_size.c,v Working file: file_size.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: Implemented to create … Continue reading

Posted in Data Structures with C | Leave a comment

setjmp header and function

setjmp.h is a header defined in the C standard library to provide “non-local jumps”: control flow that deviates from the usual subroutine call and return sequence. The complementary functions setjmp and longjmp provide this functionality. SYNOPSIS #include <setjmp.h> int setjmp(jmp_buf … Continue reading

Posted in Data Structures with C | Leave a comment

BINARY SEARCH……..

Binary search technique works for the sorted list. It is one of the most efficient techniques of searching. It is a technique of searching in ordered list where we first find middle value. Based on the comparison between the middle … Continue reading

Posted in Data Structures with C | 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

Devoloped link list concept

RCS file: ll.c,v Working file: ll.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: link list program —————————- revision 1.3 locked by: root; date: 2014/09/26 05:52:07; author: … Continue reading

Posted in Data Structures with C | Leave a comment

Call Stack

Programs written in the procedural style (as opposed to object-oriented style) are organized as a logical hierarchy of subroutine calls. In general, each subroutine call involves passing arguments from the caller to the callee. In addition, the callee may declare … Continue reading

Posted in Data Structures with C | Leave a comment

Getting start with Pointer

RCS file: RCS/basic_pointer.c,v Working file: basic_pointer.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: basic pointer to under stand —————————- revision 1.1 date: 2014/08/29 09:22:19;  author: root;  state: Exp; … Continue reading

Posted in Data Structures with C | Tagged , , , , | Leave a comment

User defined string header file using pointer

RCS file: RCS/my_string.c,v Working file: my_string.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: My String Header File —————————- revision 1.1 date: 2014/08/27 10:58:21;  author: root;  state: Exp; Initial … Continue reading

Posted in Data Structures with C | Tagged , , | Leave a comment

Structure assignment upto 3 question

RCS file: RCS/01_structure.c,v Working file: 01_structure.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: 1st question of structure assignment —————————- revision 1.2 date: 2014/09/02 10:08:42;  author: root;  state: Exp;  … Continue reading

Posted in Data Structures with C | Tagged , , , | Leave a comment

Stack completed(using link list)

RCS file: ./stack.c,v Working file: ./stack.c head: 1.19 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 19; selected revisions: 19 description: implemented basic program for stack. gave defination for get_choice(). —————————- revision 1.19 date: 2014/07/27 15:43:57; … Continue reading

Posted in Data Structures with C | Leave a comment

implementation of queue using link list is completed

#include #include struct queue { int data; struct queue *next; }*start=NULL,*new_node,*current; void qinsert(); void display(); void qdelete(); int front=0,rear=0; int main() { int choice; do { printf(“\n=========Main Menu========\n”); printf(“0.Exit\n”); printf(“1.Insert\n”); printf(“2.Delete\n”); printf(“3.Display\n”); printf(“\nEnter you choice:”); scanf(“%d”,&choice); switch(choice) { case 0: … Continue reading

Posted in Data Structures with C | Leave a comment

implementation of queue using array is done.

RCS file: main.c,v Working file: main.c head: branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 0 description: define function like: insert queue delete display ============================================================================= RCS file: header.h,v Working file: header.h head: branch: locks: strict access … Continue reading

Posted in Data Structures with C | Leave a comment