G:\GOGOGOGO\POJ\1106-Transmitters\Transmitters.cpp|5|error: 'double y1' redeclared as different kind of symbol|
编写POJ 1106-transmitters 时 加载库函数cmath,同时定义了一个变量y1,codeblocks出现如上错误
原因:
在cmath中有y1的定义,这样会因为重定义而出错。
G:\GOGOGOGO\POJ\1106-Transmitters\Transmitters.cpp|5|error: 'double y1' redeclared as different kind of symbol|
编写POJ 1106-transmitters 时 加载库函数cmath,同时定义了一个变量y1,codeblocks出现如上错误
原因:
在cmath中有y1的定义,这样会因为重定义而出错。
编译报错问题解决
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M