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

64561_0_31444.cpp
64561_0_31444.cpp(20) : error C2446: '!=' : no conversion from 'int' to 'char *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
64561_0_31444.cpp(20) : error C2040: '!=' : 'char [1001]' differs in levels of indirection from 'int'
64561_0_31444.cpp(22) : error C2440: '=' : cannot convert from 'char *' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
64561_0_31444.cpp(26) : error C2446: '==' : no conversion from 'int' to 'char *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
64561_0_31444.cpp(26) : error C2040: '==' : 'char [1001]' differs in levels of indirection from 'int'
64561_0_31444.cpp(28) : error C2440: '=' : cannot convert from 'char *' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
64561_0_31444.cpp(37) : error C2446: '>' : no conversion from 'int' to 'int *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
64561_0_31444.cpp(37) : error C2040: '>' : 'int [1001]' differs in levels of indirection from 'int'
64561_0_31444.cpp(39) : error C2440: '=' : cannot convert from 'int [1001]' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
64561_0_31444.cpp(40) : error C2440: '=' : cannot convert from 'int' to 'int [1001]'
        There are no conversions to array types, although there are conversions to references or pointers to arrays


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 21:47:59, Gzip enabled