Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
compile error by judge@admin: i am getting compile error from judge while the code runs perfectly on codeblocks(gcc) compiler. On reading the error i could only understand that there is a problem CIN(i dont know what). please respond ASAP. solution_id=11166718 Compile Error Main.cpp F:\temp\11166718.174443\Main.cpp(46) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion) istream(1000): could be 'std::basic_istream<_Elem,_Traits> &std::operator >><std::char_traits<char>>(std::basic_istream<_Elem,_Traits> &,signed char *)' with [ _Elem=char, _Traits=std::char_traits<char> ] Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator