Re: Clearing an Input Stream


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on July 22, 1999 at 14:08:00:

In Reply to: Clearing an Input Stream posted by VT Kingpin on July 21, 1999 at 22:31:53:

: Ok...heres the deal...

: How do you reset an input stream like cin? I am trying to read an int, but when I hit , the is being detected by getline, and I am getting an extra "window". Therefore, I need to clear the input stream before I execute a getline....any suggestions?

what exactly do u mean by "clear the input stream" ?

---

hussein


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]