cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
clearing c buffer
clearing c buffer
Jun 23, 2015 at 11:26pm UTC
cCppLearner
(4)
when using scanf, how do i clear the input buffer without using fflush?? im using it in linux and some ways in the internet causes segmentation fault.
Thanks!!
Jun 24, 2015 at 7:05am UTC
MiiNiPaa
(8886)
http://c-faq.com/stdio/stdinflush.html
http://c-faq.com/stdio/stdinflush2.html
Topic archived. No new replies allowed.