About Atof

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

About Atof

2,972 次查看
erickantoniorp2
Contributor I
Hi everybody. I'm new in Codewarrior, but i ever had programmed in c++. I wanted to use atof function in my program, but althoug i include <stdlib.h> library, then <cstdlib>, it never worked. Did i make a mistake?. I'm using CodeWarrior 9 Upd 3.
 
Thanks, Regards.
标签 (1)
1 回复

1,374 次查看
Lundin
Senior Contributor IV
Include cstdlib and then add "using std::atof". If that doesn't work, then perhaps you made a project without including float numbers. If not, you get an ANSI lib with only integer functions.
0 项奖励
回复