您当前的位置: 首页 >  ar

txwtech

暂无认证

  • 2浏览

    0关注

    813博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

error C2664: 'atof' : cannot convert parameter 1 from 'int' to 'const char *'

txwtech 发布时间:2016-04-01 22:21:49 ,浏览量:2



double ff=atof(b); 

error C2664: 'atof' : cannot convert parameter 1 from 'int' to 'const char *'

不能把int转换为字符型,因为vc中atof是把字符型转换成数值型。 atof(b)括号里面的b是整型数据。微笑

关注
打赏
1665060526
查看更多评论
立即登录/注册

微信扫码登录

0.0408s