Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Buffer clear

This is a discussion on Buffer clear within the C and C++ forums, part of the Software Development category; im using a array with size 30.when i input chanarcters more than 30, error will occur. can any 1 plz tel me, how to clear the input buffer?...

Go Back   Geeks Talk > Software Development > C and C++
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 07-31-2008
Junior Member
 
Join Date: Jul 2008
Location: Japan
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Nilusha is on a distinguished road
Buffer clear

im using a array with size 30.when i input chanarcters more than 30, error will occur.
can any 1 plz tel me, how to clear the input buffer?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-11-2008
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,438
Thanks: 15
Thanked 147 Times in 138 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Buffer clear

hi friend..

please use void fflushstdin()... as per view it will work

Thanks
Deepasree
Reply With Quote
Reply

  Geeks Talk > Software Development > C and C++

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to clear HR round mikerich135 Career Advice 2 02-18-2009 05:00 AM
Need clear explanation of Recovery Scenario shv_shanmu24 QTP 2 07-30-2008 08:52 AM
Cache table in Buffer Pool Geek_Guest Oracle 1 09-04-2007 05:48 PM
Clear Basis Administration Notes Lokesh M SAP R/3 1 07-18-2007 02:24 AM
How to Clear Input Buffer blenda C and C++ 1 11-12-2006 03:08 PM


All times are GMT -4. The time now is 03:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved