Menu

Another implicit declaration error ...

2002-11-12
2012-09-26
  • Nobody/Anonymous

    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

     
    • Nobody/Anonymous

      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

       
    • Nobody/Anonymous

      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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.