Important: Use custom search function to get better results from our thousands of pages

Use " " for compulsory search eg:"electronics seminar" , use -" " for filter something eg: "electronics seminar" -"/tag/" (used for exclude results from tag pages)


 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Program to implement the data link layer framing method character stuffing
Post: #1

Code:
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
int i,j,k,n,c=0,l;
char s[20];
clrscr();
printf("\t enter the string \n\t");
gets(s);
l=strlen(s);
printf("\t%d",l);
printf("\n\n");
j=0;
printf(" \tenter the frame size: \t ");
scanf("%d",&n);
k=l/n;
for(i=0;i<k;i++)
{
printf("\t DLESTX");
while(j<l)
{

putchar(s[j]);
c++;
j++;
if(c==n)
break;
}
printf(" DLESTX \t");
printf("\n\n");
c=0;
}
getch();
 

Marked Categories : a seminar on data link layer, data link layer framing methods, implementation of character stuffing in c, implementation of data link layer framing method using character stuffing, data link layer framing method implementation in c using character stuffing, program for data link layer functions, data link layer programs, implementation of the data link layer framing method such as character stuffing and, framing methods in data link layer c programs, character stuffing program using strings, character stuffing program in c, c program for data link layer, how to program in data link layer, framing methods in data link layer, framing method program in c,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  A Novel Data Embedding Method Using Adaptive Pixel Pair Matching Report project girl 3 2,594 15-01-2018 01:56 PM
Last Post: dhanabhagya
  crack for free vodacom data Guest 1 0 17-11-2017 12:10 PM
Last Post: jaseela123
  data flow diagram for ddos attack file type ppt Guest 1 0 07-11-2017 10:15 AM
Last Post: jaseela123
  unrestricted simplex protocol in computer network in c program Guest 1 0 25-10-2017 04:25 PM
Last Post: jaseela123
  coprecipitation method ppt Guest 1 127 14-10-2017 02:39 PM
Last Post: jaseela123
  design of configurable ofdm data processor for wimax Guest 1 277 14-10-2017 09:14 AM
Last Post: jaseela123
  data dictionary for blood bank management system Guest 1 199 13-10-2017 02:59 PM
Last Post: jaseela123
  mirror link Guest 1 173 12-10-2017 03:17 PM
Last Post: jaseela123
  Programming of IPFC using NR method in MATLAB Guest 1 155 12-10-2017 02:50 PM
Last Post: jaseela123
Wink Secure Data Storage in Cloud Service using RC5 Algorithm Guest 1 201 12-10-2017 10:21 AM
Last Post: jaseela123
This Page May Contain What is Program to implement the data link layer framing method character stuffing And Latest Information/News About Program to implement the data link layer framing method character stuffing,If Not ...Use Search to get more info about Program to implement the data link layer framing method character stuffing Or Ask Here

Options: