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_1826908_22813.cpp
0_0_1826908_22813.cpp(15) : error C2079: “out1”使用未定义的 class“std::basic_ostringstream<_Elem,_Traits,_Alloc>”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        0_0_1826908_22813.cpp(15) : 参见对正在编译的类模板实例化“std::basic_ostringstream<_Elem,_Traits,_Alloc>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        0_0_1826908_22813.cpp(15) : 参见对正在编译的类模板实例化“std::basic_ostringstream<_Elem,_Traits,_Alloc>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
0_0_1826908_22813.cpp(15) : error C2079: “out2”使用未定义的 class“std::basic_ostringstream<_Elem,_Traits,_Alloc>”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        0_0_1826908_22813.cpp(15) : 参见对正在编译的类模板实例化“std::basic_ostringstream<_Elem,_Traits,_Alloc>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        0_0_1826908_22813.cpp(15) : 参见对正在编译的类模板实例化“std::basic_ostringstream<_Elem,_Traits,_Alloc>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
0_0_1826908_22813.cpp(15) : error C2079: “out”使用未定义的 class“std::basic_ostringstream<_Elem,_Traits,_Alloc>”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        0_0_1826908_22813.cpp(15) : 参见对正在编译的类模板实例化“std::basic_ostringstream<_Elem,_Traits,_Alloc>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        0_0_1826908_22813.cpp(15) : 参见对正在编译的类模板实例化“std::basic_ostringstream<_Elem,_Traits,_Alloc>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
0_0_1826908_22813.cpp(18) : error C2297: “<<” : 非法,右操作数包含“const char [2]”类型
0_0_1826908_22813.cpp(19) : error C2228: “.str”的左侧必须有类/结构/联合类型
        类型是“int”
0_0_1826908_22813.cpp(19) : error C2079: “sin1”使用未定义的 class“std::basic_istringstream<_Elem,_Traits,_Alloc>”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        0_0_1826908_22813.cpp(19) : 参见对正在编译的类模板实例化“std::basic_istringstream<_Elem,_Traits,_Alloc>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        0_0_1826908_22813.cpp(19) : 参见对正在编译的类模板实例化“std::basic_istringstream<_Elem,_Traits,_Alloc>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
0_0_1826908_22813.cpp(19) : fatal error C1903: 无法从以前的错误中恢复;正在停止编译


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-07-04 15:36:23, Gzip enabled