Hey, just curious. Is atof() a C++ only function or will it work in standard C?

Have you checked a C reference? We're generally miffed when people ask questions that are easy to look up.

Have you checked a C reference? We're generally miffed when people ask questions that are easy to look up.

I've googled it, but I'm kind of confused. Could you point me to one of these C references? Thanks, sorry.

Hey, just curious. Is atof() a C++ only function or will it work in standard C?

atof works with C standard too,jus include <stdlib.h> in your code

>Could you point me to one of these C references?
I'm a fan of Dinkumware's reference. It covers both C and C++, up to the latest standards.