Thread: problem with compiling C code in VC++6

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    7

    problem with compiling C code in VC++6

    First of all, I am a newbie, so please be gentle to me ;)

    I am trying to run a set of codes (written by sb else and tested OK) in VC++6. I get the following error:

    "fatal error C1083: Cannot open include file: 'nan.h': No such file or directory
    dataSet.C"

    anybody could help plz?
    what is nan.h?
    Last edited by ghaasemi; 05-31-2009 at 03:35 AM.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    It sounds like a header that contains functions to deal with NaN floating point values.

    It also sounds very non-standard, so you should contact that somebody else and ask them where they got it.

    Finally, VC++6 is incredibly outdated, and you can get many far better compilers for free, for example Visual C++.Net 2008 Express, or Visual C++.Net 2010 Beta 1, or MinGW in the nice Code::Blocks package.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    7
    thanks,

    I tried to contact him but he is nowhere to be reached! Thanks anyhow! I 'll keep looking

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems with compiling code in cygwin
    By firyace in forum C++ Programming
    Replies: 4
    Last Post: 06-01-2007, 08:16 AM
  2. code problem
    By maritos in forum C Programming
    Replies: 1
    Last Post: 11-27-2005, 05:22 PM
  3. Problem compiling GMP code
    By Bruno Couto in forum C Programming
    Replies: 2
    Last Post: 10-08-2005, 04:37 PM
  4. problem with selection code
    By DavidP in forum Game Programming
    Replies: 1
    Last Post: 06-14-2004, 01:05 PM
  5. Problem : Threads WILL NOT DIE!!
    By hanhao in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2004, 01:37 PM