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的定义,这样会因为重定义而出错。
本文共 251 字,大约阅读时间需要 1 分钟。
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的定义,这样会因为重定义而出错。
转载于:https://blog.51cto.com/7938122/1612653
转载地址:https://blog.csdn.net/weixin_33894640/article/details/92645735 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!