|
发表于 2019-9-5 00:23:42
|
显示全部楼层
楼主大大,我用vc也没运行出来,结果如下:
--------------------Configuration: ce shi - Win32 Debug--------------------
Compiling...
1.cpp
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(51) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(52) : error C2228: left of '.y' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(53) : error C2228: left of '.shape' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(65) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(65) : error C2228: left of '.y' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(67) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(320) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(320) : error C2228: left of '.y' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(322) : error C2228: left of '.y' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(323) : error C2228: left of '.y' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(325) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(326) : error C2228: left of '.y' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(327) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(329) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(329) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(348) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(349) : error C2228: left of '.y' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(350) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(352) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(352) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(367) : error C2228: left of '.x' must have class/struct/union type
G:\Microsoft Visual Studio\MyProjects\ce shi\1.cpp(367) : error C2228: left of '.y' must have class/struct/union type
执行 cl.exe 时出错.
ce shi.exe - 1 error(s), 0 warning(s)
|
|