NETWORKING - C Codes

Hamming Code

Description computer n/w Source Code #include<stdio.h> #include<conio.h> void main() { int h[8],p[5]; printf("\n ente the four data bits="); scanf("%d %d %d %d",&h[3],& ...

0 Comments. 1125 views since Aug 22, 2008

Character Stuffing

Description Computer network Source Code #include<stdio.h> #include<conio.h> void main() { char data[10],stfd[10]={'S','Y','N','S','T','X'}; int len,i,lot=6; clrscr(); printf("enter the d ...

0 Comments. 1005 views since Aug 21, 2008

Parity Bit Checker

Description A program for counting number of Parity Bits in an Integer. Source Code #include<stdio.h> #include<conio.h> main() { int num, cnt = 0; printf("enter the n ...

0 Comments. 999 views since Sep 4, 2008

LZW Implementation

Description computer n/w Source Code #include<stdio.h> #include<conio.h> #include<string.h> void main() { int i,p[50],l,c=0,flag,count,found,j; char a[50],b[50][10],d[5]; c ...

1 Comments. 868 views since Aug 22, 2008

Bit Stuffing

Description Bit stuffing in computer n/w Source Code #include<stdio.h> #include<conio.h> void main() { int i,j,len,flag=0; char data[30],a[30]; clrscr(); printf("enter the data"); ge ...

0 Comments. 766 views since Aug 20, 2008