ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1269. Obscene Words Filter

how do c/c++ program read the data?
Posted by chnlkw 6 Feb 2009 18:21
my program always stops reading while it reach EOF (#26). how to avoid it? help
like this : "12(#26)21"

Edited by author 07.02.2009 06:27
Re: how do c/c++ program read the data?
Posted by strider 6 Feb 2009 23:29
A program stops reading as soon as the next reading operator ( cin >> ... , cin.getline(), scanf(), getchar() and so on) gets what it requested.