cborland-c

Unable to open included files


I am using BorlandC and Windows 7.

When I compile the file, I am getting these errors:

Error Assign.C : Unable to open include file 'stdio.h'
Error Assign.C : Unable to open include file 'conio.h'
Error Assign.C : Unable to open include file 'dos.h'
Error Assign.C : Unable to open include file 'stdlib.h'

What am I doing wrong?


Solution

  • check the bcc32.cfg file (should be in the same directory as bcc32.exe) It should contain:

    -ID:\BorlandC\Include

    Assuming that the include files can be found in D:\BorlandC\Include