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

This question has already been answered. Start a new discussion instead.