A character set has 1 and 2 byte characters. One byte
characters have 0 as the first bit. You just keep
accumulating the characters in a buffer. Suppose at some
point the user types a backspace, how can you remove the
character efficiently. (Note: You cant store the last
character typed because the user can type in arbitrarily
many backspaces)
Answers were Sorted based on User's Feedback
Answer / lokesh tailor
We use the fflush(stdin) function to clear the buffer.
and then take the value of char or integer.
because the enter key is reconized as a character.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / threesome
whenever a backspace character is clicked(ASCII VALUE: 08),
I will replace the previous character with a space(ASCII
VALUE: 32)
| Is This Answer Correct ? | 0 Yes | 1 No |
What is Campus selection process of patni at Adcet,Ashta at 24th dec 2010.Also give apti syllabus.
376,188,88,40,16,4,-2. Find wrong term in series
What experience have you had in writing technical materials?
If it requires 8 men to build a wall in 10 days then what time will it take to build by 4 men?
what do you expect from this company?
1)what is output for the following program. #include<stdio.h> main() { int *p,*q,i; p=(int *)100; q=(int *)200; i=q-p; printf("%d",i); } a)100 b)25 c)0 d)compile error
what is PPM,CM & EM in FM company
Please. Does someone know how to inicialize tapes in ATL? I need have 100 tapes to init inside the ATL, how is the process to complete this request?
who to change a passward in router?
Implement the dictionary operations INSERT, DELETE, and SEARCH using singly linked, circular lists. What are the running times of your procedures?
What is meant by VSWR?
What is the basic difference between injection speed and injection pressure in an injection molding machine?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)