Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix "unable to open stdio.h in Turbo C" error?

Whenever I compile my program, I get the error above.

like image 218
aditya Avatar asked Mar 01 '10 15:03

aditya


People also ask

How do you fix Cannot open include file Stdio H?

Do this: Open your turboc2 folder you have tc.exe file inside, beside this file you find another file as named as ' tcinst.exe ' open it. Here you have to change the path of the directory to the path where your INCLUDE folder is located. Same way change the path to library directory also over restart your tc.exe.

Where is Stdio h in Windows?

The File Stdio. h is included in the path C:\Program Files (x86)\Windows Kits\10\Include\10.0.


2 Answers

If you have problems like that, first of all your TC folder put in to the C:..drive. after completing installation open turbo c blue screen. there is a OPTIONS > Directories ..in that you can see for option to set up path..

  1. include directories..you can set path there now.. C:\TC\INCUDE
  2. libraries Directories..you can set path there...C:\TC\LIB
  3. if you want to store your output in BIN then you can set..C:\TC\BIN..otherwise you can set another path where you want to store your output..

Finally you can give OK and finished processes.. It will now work properly

like image 108
Amit Avatar answered Nov 04 '22 02:11

Amit


Do this: Open your turboc2 folder you have tc.exe file inside, beside this file you find another file as named as ' tcinst.exe ' open it.

You will see the installation menu:

select as-- > Option > Directory > Include directory

Here you have to change the path of the directory to the path where your INCLUDE folder is located. Same way change the path to library directory also over restart your tc.exe.

like image 27
Arya kumar Avatar answered Nov 04 '22 03:11

Arya kumar