Hi all,
I'm wondering why i'm getting "implicit declaration" errors when I try to use functions like isNaN(), etc...
I know that the problem comes from the compiler but is there any solution ... ?
Thanks ...
IGonZo
You probably used Java before, for programming in c you should use a function from c libraries. Look at
http://www.gnu.org/manual/glibc-2.2.5/html_node/index.html
I guess floating point classes under arithmetic, there is no isNaN, but there is isnan, if this is exactly what you are looking for.
tkorrovi
IGonzo,
Note that C/C++ is case sensitive, so
isNaN
is not the same as
isnan
I blow stuff like this once every day or so...
Wayne
Log in to post a comment.
Hi all,
I'm wondering why i'm getting "implicit declaration" errors when I try to use functions like isNaN(), etc...
I know that the problem comes from the compiler but is there any solution ... ?
Thanks ...
IGonZo
You probably used Java before, for programming in c you should use a function from c libraries. Look at
http://www.gnu.org/manual/glibc-2.2.5/html_node/index.html
I guess floating point classes under arithmetic, there is no isNaN, but there is isnan, if this is exactly what you are looking for.
tkorrovi
IGonzo,
Note that C/C++ is case sensitive, so
isNaN
is not the same as
isnan
I blow stuff like this once every day or so...
Wayne