Computer Chess Club Archives


Search

Terms

Messages

Subject: Help with cin

Author: James Robertson

Date: 22:41:40 09/11/99


I am trying to improve my programs handling of user input, but I need some help
with cin first.

How can I check for a newline character in the stream without extracting any
characters?

And, how can I put characters back into the stream?

Thanks,
James



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.