婆罗门
精华
|
战斗力 鹅
|
回帖 0
注册时间 2007-11-23
|
------ Build started: Project: ttt, Configuration: Debug Win32 ------
Compiling...
ttt.cpp
e:\\mycode\\update\\ttt\\ttt.cpp(45) : 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
e:\\mycode\\update\\ttt\\ttt.cpp(45) : error C2040: \'<\' : \'int [20]\' differs in levels of indirection from \'int\'
e:\\mycode\\update\\ttt\\ttt.cpp(48) : error C2440: \'=\' : cannot convert from \'int *\' to \'int\'
There is no context in which this conversion is possible
e:\\mycode\\update\\ttt\\ttt.cpp(54) : error C2440: \'=\' : cannot convert from \'int\' to \'int [20]\'
There are no conversions to array types, although there are conversions to references or pointers to arrays
e:\\mycode\\update\\ttt\\ttt.cpp(64) : 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
e:\\mycode\\update\\ttt\\ttt.cpp(64) : error C2040: \'!=\' : \'int [20]\' differs in levels of indirection from \'int\'
e:\\mycode\\update\\ttt\\ttt.cpp(64) : 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
e:\\mycode\\update\\ttt\\ttt.cpp(64) : error C2040: \'<\' : \'int [20]\' differs in levels of indirection from \'int\'
e:\\mycode\\update\\ttt\\ttt.cpp(115) : error C2440: \'=\' : cannot convert from \'int\' to \'int [20]\'
There are no conversions to array types, although there are conversions to references or pointers to arrays
Build log was saved at \"file://e:\\MyCode\\update\\ttt\\Debug\\BuildLog.htm\"
ttt - 9 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
我只是好奇这段代码在什么编译器下可以通过编译  |
|