Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

提交一个CE 这个是什么意思 高手帮帮忙

Posted by allen4053040allen at 2010-06-08 10:49:47 on Problem 2253
Main.cpp
xutility(764) : error C2039: 'iterator_category' : is not a member of 'P'
        Main.cpp(11) : see declaration of 'P'
        Main.cpp(64) : see reference to class template instantiation 'std::iterator_traits<_Iter>' being compiled
        with
        [
            _Iter=P
        ]
xutility(764) : error C2146: syntax error : missing ';' before identifier 'iterator_category'
xutility(764) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
xutility(764) : error C2602: 'std::iterator_traits<_Iter>::iterator_category' is not a member of a base class of 'std::iterator_traits<_Iter>'
        with
        [
            _Iter=P
        ]
        xutility(764) : see declaration of 'std::iterator_traits<_Iter>::iterator_category'
        with
        [
            _Iter=P
        ]
xutility(764) : error C2868: 'std::iterator_traits<_Iter>::iterator_category' : illegal syntax for using-declaration; expected qualified-name
        with
        [
            _Iter=P
        ]
xutility(765) : error C2039: 'value_type' : is not a member of 'P'
        Main.cpp(11) : see declaration of 'P'
xutility(765) : error C2146: syntax error : missing ';' before identifier 'value_type'
xutility(765) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
xutility(765) : error C2602: 'std::iterator_traits<_Iter>::value_type' is not a member of a base class of 'std::iterator_traits<_Iter>'
        with
        [
            _Iter=P
        ]
        xutility(765) : see declaration of 'std::iterator_traits<_Iter>::value_type'
        with
        [
            _Iter=P
        ]
xutility(765) : error C2868: 'std::iterator_traits<_Iter>::value_type' : illegal syntax for using-declaration; expected qualified-name
        with
        [
            _Iter=P
        ]
xutility(766) : error C2039: 'difference_type' : is not a member of 'P'
        Main.cpp(11) : see declaration of 'P'
xutility(766) : error C2146: syntax error : missing ';' before identifier 'difference_type'
xutility(766) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
xutility(766) : error C2602: 'std::iterator_traits<_Iter>::difference_type' is not a member of a base class of 'std::iterator_traits<_Iter>'
        with
        [
            _Iter=P
        ]
        xutility(766) : see declaration of 'std::iterator_traits<_Iter>::difference_type'
        with
        [
            _Iter=P
        ]
xutility(766) : error C2868: 'std::iterator_traits<_Iter>::difference_type' : illegal syntax for using-declaration; expected qualified-name
        with
        [
            _Iter=P
        ]
xutility(768) : error C2039: 'pointer' : is not a member of 'P'
        Main.cpp(11) : see declaration of 'P'
xutility(768) : error C2146: syntax error : missing ';' before identifier 'pointer'
xutility(768) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
xutility(768) : error C2602: 'std::iterator_traits<_Iter>::pointer' is not a member of a base class of 'std::iterator_traits<_Iter>'
        with
        [
            _Iter=P
        ]
        xutility(768) : see declaration of 'std::iterator_traits<_Iter>::pointer'
        with
        [
            _Iter=P
        ]
xutility(768) : error C2868: 'std::iterator_traits<_Iter>::pointer' : illegal syntax for using-declaration; expected qualified-name
        with
        [
            _Iter=P
        ]
xutility(769) : error C2039: 'reference' : is not a member of 'P'
        Main.cpp(11) : see declaration of 'P'
xutility(769) : error C2146: syntax error : missing ';' before identifier 'reference'
xutility(769) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
xutility(769) : error C2602: 'std::iterator_traits<_Iter>::reference' is not a member of a base class of 'std::iterator_traits<_Iter>'
        with
        [
            _Iter=P
        ]
        xutility(769) : see declaration of 'std::iterator_traits<_Iter>::reference'
        with
        [
            _Iter=P
        ]
xutility(769) : error C2868: 'std::iterator_traits<_Iter>::reference' : illegal syntax for using-declaration; expected qualified-name
        with
        [
            _Iter=P
        ]


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator