views:

333

answers:

4

whenever i compile my program i get the error above,plz give some solution.

A: 

Make sure the folder with the standard header files is in the projects path. I don't know where this is in turbo C but I would think there's a way of doing this.

zooropa
+1  A: 

Check your environment include path. The file is not in the locations pointed by that environment variable.

Shaihi
A: 

On most systems, you'd have to be trying fairly hard not to find '<stdio.h>', to the point where the first reaction is "is <stdio.h> installed". So, I'd be looking to see if the file exists in a plausible location. If not, then your installation of Turbo C is broken; reinstall. If you can find it, then you will have to establish why the compiler is not searching for it in the right place - what are the compiler options you've specified and where is the compiler searching for its headers (and why isn't it searching where the header is).

Jonathan Leffler
A: 

Since you did not mention which version of Turbo C this method below will cover both v2 and v3.

  • Click on 'Options', 'Directories', enter the proper location for the Include and Lib directories.

Hope this helps, Best regards, Tom.

tommieb75