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
  srs with data flow diagram of irrigation system Guest 0 0 17-07-2017 07:18 PM
Last Post: Guest
  displaying data in thin air project in cloud computing Guest 0 263 16-07-2017 12:20 AM
Last Post: Guest
  new generation polling method using rf pdf document Guest 0 173 16-07-2017 12:20 AM
Last Post: Guest
  NEED DATA OF CAREER DEVELOPMENT PROJECT MBA HR PROJECT IN TIRUMULA DAIRY Guest 0 286 16-07-2017 12:20 AM
Last Post: Guest
  data warehousing and data mining local author books free download Guest 0 307 16-07-2017 12:20 AM
Last Post: Guest
  89c51 microcontroller program for automation of street light system Guest 0 157 16-07-2017 12:20 AM
Last Post: Guest
  the advantages and disadvantages of this synchronous impedance method Guest 0 195 16-07-2017 12:20 AM
Last Post: Guest
  how to burn program in at89s51 using flash magic Guest 0 186 16-07-2017 12:20 AM
Last Post: Guest
  pipe pile method statement Guest 0 231 16-07-2017 12:20 AM
Last Post: Guest
  download ppt solar water purification using thermal method Guest 0 317 16-07-2017 12:20 AM
Last Post: Guest
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: