Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Home » Tip Bank » C++
Language: C++
Expertise: Beginner
Aug 12, 1999

C Equivalent in C++

Question:
What is the C++ equivalent of the fflush(stdin) statement in C?

Answer:
Fortunately, although C++ offers many new ways of doing thing, it still includes everything that was in C. This also includes everything in the C Runtime Library. fflush(stdin) should work just as it did in C.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date