locked
Problem compiling code

    Question

  • I am trying to compile lots of different programs of the net and i keep getting this error

     : fatal error C1083: Cannot open include file: 'stdlib': No such file or directory

    Any help?
    Cheers
    Tuesday, February 27, 2007 8:48 AM

Answers

  • Is this when including a file?

    #include <stdlib>

    probably should be

    #include <stdlib.h>

    If that doesn't help you should check that your directory settings point to the correct folder
    Tools->Options->Project and solutions->VC++ directories (for include)

    Make sure it points to the include directory where you installed VC++

     

     

    Tuesday, February 27, 2007 9:36 AM