c++程序sin()如何写?
要让VC++6.0输出sin(a)的值怎么写?a是角度,是可以任意写的角度。请各位大侠把源代码写给在下!谢谢!warningC4244:'=':conversionfro...
要让VC++6.0输出sin(a)的值怎么写?a是角度,是可以任意写的角度。
请各位大侠把源代码写给在下!谢谢!
warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
error C2065: 'cout' : undeclared identifier
error C2296: '<<' : illegal, left operand has type 'float'
error C2297: '<<' : illegal, right operand has type 'float'
error C2065: 'endl' : undeclared identifier
错了出现了以上内容! 展开
请各位大侠把源代码写给在下!谢谢!
warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
error C2065: 'cout' : undeclared identifier
error C2296: '<<' : illegal, left operand has type 'float'
error C2297: '<<' : illegal, right operand has type 'float'
error C2065: 'endl' : undeclared identifier
错了出现了以上内容! 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询