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_6131857_22197.cpp
0_0_6131857_22197.cpp(7) : error C2079: “cin”使用未定义的 class“std::basic_ifstream<_Elem,_Traits>”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        0_0_6131857_22197.cpp(7) : 参见对正在编译的类模板实例化“std::basic_ifstream<_Elem,_Traits>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        0_0_6131857_22197.cpp(7) : 参见对正在编译的类模板实例化“std::basic_ifstream<_Elem,_Traits>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
0_0_6131857_22197.cpp(7) : error C2440: “初始化” : 无法从“const char [10]”转换为“int”
        该转换要求 reinterpret_cast、C 样式转换或函数类型转换
0_0_6131857_22197.cpp(8) : error C2079: “cout”使用未定义的 class“std::basic_ofstream<_Elem,_Traits>”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        0_0_6131857_22197.cpp(8) : 参见对正在编译的类模板实例化“std::basic_ofstream<_Elem,_Traits>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        0_0_6131857_22197.cpp(8) : 参见对正在编译的类模板实例化“std::basic_ofstream<_Elem,_Traits>”的引用
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
0_0_6131857_22197.cpp(8) : error C2440: “初始化” : 无法从“const char [11]”转换为“int”
        该转换要求 reinterpret_cast、C 样式转换或函数类型转换
0_0_6131857_22197.cpp(50) : error C2872: “cout” : 不明确的符号
        可能是“0_0_6131857_22197.cpp(8) : int cout”
        或      “VC\include\iostream(13) : std::ostream std::cout”
0_0_6131857_22197.cpp(50) : error C2563: 在形参表中不匹配
0_0_6131857_22197.cpp(50) : error C2568: “<<” : 无法解析函数重载
        VC\include\ostream(928): 可能是“std::basic_ostream<_Elem,_Traits> &std::endl(std::basic_ostream<_Elem,_Traits> &)”
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits<wchar_t>
        ]
        VC\include\ostream(920): 或       “std::basic_ostream<_Elem,_Traits> &std::endl(std::basic_ostream<_Elem,_Traits> &)”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        VC\include\ostream(896): 或       “std::basic_ostream<_Elem,_Traits> &std::endl(std::basic_ostream<_Elem,_Traits> &)”
0_0_6131857_22197.cpp(55) : error C2872: “cin” : 不明确的符号
        可能是“0_0_6131857_22197.cpp(7) : int cin”
        或      “VC\include\iostream(12) : std::istream std::cin”
0_0_6131857_22197.cpp(56) : error C2872: “cin” : 不明确的符号
        可能是“0_0_6131857_22197.cpp(7) : int cin”
        或      “VC\include\iostream(12) : std::istream std::cin”
0_0_6131857_22197.cpp(57) : error C2872: “cin” : 不明确的符号
        可能是“0_0_6131857_22197.cpp(7) : int cin”
        或      “VC\include\iostream(12) : std::istream std::cin”
0_0_6131857_22197.cpp(61) : error C2872: “cin” : 不明确的符号
        可能是“0_0_6131857_22197.cpp(7) : int cin”
        或      “VC\include\iostream(12) : std::istream std::cin”
0_0_6131857_22197.cpp(63) : error C2872: “cout” : 不明确的符号
        可能是“0_0_6131857_22197.cpp(8) : int cout”
        或      “VC\include\iostream(13) : std::ostream std::cout”
0_0_6131857_22197.cpp(63) : error C2563: 在形参表中不匹配
0_0_6131857_22197.cpp(63) : error C2568: “<<” : 无法解析函数重载
        VC\include\ostream(928): 可能是“std::basic_ostream<_Elem,_Traits> &std::endl(std::basic_ostream<_Elem,_Traits> &)”
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits<wchar_t>
        ]
        VC\include\ostream(920): 或       “std::basic_ostream<_Elem,_Traits> &std::endl(std::basic_ostream<_Elem,_Traits> &)”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        VC\include\ostream(896): 或       “std::basic_ostream<_Elem,_Traits> &std::endl(std::basic_ostream<_Elem,_Traits> &)”


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-15 14:22:45, Gzip enabled