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

Common Board

silly question
Posted by Zero Cool 18 Mar 2005 19:02
is it possible to input the array using construction do{}while on C++, if yes - how. thanks a lot!!!!
Re: silly question
Posted by morbidel 18 Mar 2005 20:16
What do you mean by "input the array"? reading some numbers?
Re: silly question
Posted by Zero Cool 18 Mar 2005 20:44
no, the array of char, when you don't know how many symbols are input.
Re: silly question
Posted by morbidel 18 Mar 2005 21:36
char foo;
do
{
}
while (scanf("%c", &foo) == 1);