This problem occurs due to wrong configuration in Turbo C++ directories.

Follow these steps to fix the problem -

Step 1 - Open Turbo C++.
Step 2 - Go in Options menu.
Step 3 - Then in Directories...

Step 4 - Replace the directories with following -

  • Include Directories -> C:\TURBOC3\INCLUDE
  • Library Directories -> C:\TURBOC3\LIB
  • Output Directory -> C:\TURBOC3\SOURCE
  • Source Directories -> C:\TURBOC3\SOURCE

Step 5 - Finally click OK and finished processes. It will now work properly.