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

problem with getline
Posted by gOdong 12 Sep 2008 21:23
i'm new here.
i tried to execute this line:

while(getline(cin,in)){
..
..
}

and i've got an error message like this:

e554fb3f-1d51-4fef-96ef-f2a990bb5b2e(13): error: identifier "getline" is undefined
    while(getline(cin,in)){

but in my computer, i didn't get this error with my compiler. i read the FAQ carefully, but it can't help. how to solve this problem?