Unable to open include file 'IOSTREAM.H'
Unable to open include file 'CONIO.H'
Unable to open include file 'STDIO.H'
It seems to give an error for every file included using #include. Its common to have such errors since people usually place the TurboC or TC or TurboCPP folder according to the location they prefer in the partition.
Method 1 :
Placing it in the partition where Windows is loaded could solve this problem.
Locate the folder TC or TCPP or TC++ or TurboC the above names may differ according to the source you have acquired it from Copy the folder Go to the partition where you have installed your Windows operating system Open the partition Paste itAfter installation the path should be like [drive :]\TC . Where drive is the letter of your partition which in most of the cases is C. You can use the below method if still you aren't able to run the program.
Method 2 :
Alternatively if you dont want to place the folder in windows partition you can follow the steps below to solve the problem.
Locate the TurboC or TCPP folder again names vary according to sources you have acquired it from Open the bin folder Click TC.EXE In the IDE or the window you are working in locate the menu bar at the top Click on Options in the Menu bar Click on Directories Now besides Include Directories type the whole path to where you TC is located. For example [drive : ]\path\tc\include Now do the same for the text field located besides Library Directories. For example [drive : ]\path\tc\lib For Source and Output directories do the same. For example [drive : ]\path\tcNote : By default the path specified are relative paths and hence dont work in partition's other than Windows. When you place your TCPP or TurboC folder in location other than Windows partition you have to explicitly mention the path to directories.
Note : If you feel something is incorrect or missing leave a comment below.
No comments:
Post a Comment