About Atof

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About Atof

2,148 Views
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.
Labels (1)
1 Reply

550 Views
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 Kudos
Reply