473,396 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to fix compiler error "c :unable to open include file stdio.h"?

I have specified exact directory name. I am using windows 7 64 bit os. I am using c in dosbox.
Jan 17 '11 #1
1 11384
Banfa
9,065 Expert Mod 8TB
If it says it can't open the file then the most likely error is it can't find the file.

Specifying the directory name just makes your code non-portable, however if you have and it can't find the file then you have the directory wrong or the file is missing for some reason.

Check that stdio.h is actually on your computer.

It is normal to put the directory names in as a list f paths for the compiler to check, then you only have to enter the directory once for all files that are in the same directory, it is also normal not to need to do this for standard headers as the compilers default set-up normally specifies the directories of the standard headers.

You haven't said which compiler you are using.
Jan 17 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to...
2
by: Rob Manger | last post by:
Hi Guys, Urgent problem. Trying to compile my solution I get the following error: Linking... LINK: fatal error LNK1181: cannot open input file 'Release\icmpping.abj' Note, I havn't changed...
1
by: Nuray | last post by:
Hi, I´ve just tried scribble sample function. I got this message fatal error RC1015: cannot open include file 'afxres.rc' but the file is in C:\Program Files\Microsoft Visual...
3
by: Boki | last post by:
Dear All, I just installed the DirectX SDK, and I install the Tutorial00 project, I compile it, but it shows: ------ Build started: Project: Tutorial00, Configuration: Debug Win32 ------...
12
by: iamthaniks | last post by:
Hi.... How to solve this error- Unable to open include file 'STDIO.H'
1
by: P2P | last post by:
Hi All, i did compile my project on VC 6 without winsock6.h problem but if i port to VC2005 then i get this error when compile: Cannot open include file: 'winsock6.h': In Tool->Option->VC++...
8
by: curious2007 | last post by:
Hello, I am getting the following error: 1>main.cpp 1>c:\program files\microsoft visual studio 8\vc\include\comdef.h(24) : fatal error C1083: Cannot open include file: 'ole2.h': No such file...
4
by: mohanselvi28 | last post by:
How to solve this error- Unable to open include file 'STDIO.H' --------------------------------------------------------------------------------
3
by: bakhshish | last post by:
I get error message when I start my first C++ Programme.Error is as give below:
4
by: mizaki100 | last post by:
But when i check the include folder i found an STDIO h file what does it mean i am a beginner thanks in advance
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.