F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_5954884_30395.cpp
0_0_5954884_30395.cpp(9) : error C2475: “std::basic_string<_Elem,_Traits,_Ax>::length” : 构造一个指向成员的指针需要显式使用 address-of 运算符('&')和限定名
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
0_0_5954884_30395.cpp(9) : error C2475: “std::basic_string<_Elem,_Traits,_Ax>::length” : 构造一个指向成员的指针需要显式使用 address-of 运算符('&')和限定名
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
0_0_5954884_30395.cpp(9) : error C2446: “==” : 没有从“int”到“std::basic_string<_Elem,_Traits,_Ax>::size_type (__thiscall std::basic_string<_Elem,_Traits,_Ax>::* )(void) const”的转换
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
        没有从整数值到指向成员的指针值的转换
0_0_5954884_30395.cpp(9) : error C2040: “==” : “std::basic_string<_Elem,_Traits,_Ax>::size_type (__thiscall std::basic_string<_Elem,_Traits,_Ax>::* )(void) const”与“int”的间接寻址级别不同
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 08:13:45, Gzip enabled