KK
前来学习
学习学习
666
我要看看
我要回去试试了
作者,bullet是数组名,也就是地址,要用->运算符不能用.运算符
回复1
11
楼主大大,我用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)
666
666666666
11
snl 发表于 2019-8-15 15:12
为啥我用devc++没法编译
我的也是
好烦
,,,,
想看看
看看你
体验下
看一下。
。