473,657 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't locate my include files

don
I was trying to compile a .c source file using bcc on my winxp system but
the only way this would work is if I put the stdio.h file in the same folder
as the source file, even though my include statement said this #include
<c:\myfiles\inc lude which I thought would solve the "can't find error" I
was getting for my printf statements etc. etc.

Oct 19 '07 #1
6 2053
On Oct 18, 8:31 pm, "don" <d...@panix.com wrote:
I was trying to compile a .c source file using bcc on my winxp system but
the only way this would work is if I put the stdio.h file in the same folder
as the source file, even though my include statement said this #include
<c:\myfiles\inc lude which I thought would solve the "can't find error" I
was getting for my printf statements etc. etc.
See section 10 of the C-FAQ.

Oct 19 '07 #2
don
Do you have a link for this C FAQ?

"user923005 " <dc*****@connx. comwrote in message
news:11******** *************@y 27g2000pre.goog legroups.com...
On Oct 18, 8:31 pm, "don" <d...@panix.com wrote:
>I was trying to compile a .c source file using bcc on my winxp system
but
the only way this would work is if I put the stdio.h file in the same
folder
as the source file, even though my include statement said this #include
<c:\myfiles\in clude which I thought would solve the "can't find error"
I
was getting for my printf statements etc. etc.

See section 10 of the C-FAQ.

Oct 19 '07 #3
don wrote:
Do you have a link for this C FAQ?
http://www.c-faq.com/

There used to be regular reminders posted to the group.
What happened to them?
Oct 19 '07 #4
don wrote:

Please don't top post.
>
"user923005 " <dc*****@connx. comwrote in message
news:11******** *************@y 27g2000pre.goog legroups.com...
>On Oct 18, 8:31 pm, "don" <d...@panix.com wrote:
>>I was trying to compile a .c source file using bcc on my winxp system
but
the only way this would work is if I put the stdio.h file in the same
folder
as the source file, even though my include statement said this #include
<c:\myfiles\i nclude which I thought would solve the "can't find error"
I
was getting for my printf statements etc. etc.
See section 10 of the C-FAQ.

Do you have a link for this C FAQ?
Have you looked? The first hit on a google of "c faq" looks good to me.

--
Ian Collins.
Oct 19 '07 #5
don
>>See section 10 of the C-FAQ.

Do you have a link for this C FAQ?

Have you looked? The first hit on a google of "c faq" looks good to me.

--
Ian Collins.
There were so many hits that I wanted to narrow it down - the fastest way to
an answer is to ask the Right question.
Oct 20 '07 #6
"Peter Pichler" <us****@pichler .co.ukschrieb im Newsbeitrag
news:47******** **@mk-nntp-2.news.uk.tisca li.com...
don wrote:
>Do you have a link for this C FAQ?

http://www.c-faq.com/

There used to be regular reminders posted to the group.
What happened to them?
They still happen about once a month (or fortnight?) and there was one
resently, earlyier this week or near the end of the week before

Bye, Jojo
Oct 20 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1329
by: shawnk | last post by:
I want to use the Hosts file to locate schema for validation. The Hosts file (C:\Windows\System32\etc) will locate xsd schema files on a LAN server for development purposes. This gives me a alias mechanism for XML namespace redirection. If the host file on a client machine has the entry; 192.168.1.12 XML-srv
0
6117
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug file as folows. I need help to resolve them ASAP: cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D " WIN32" /D "_W INDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /D "_USRDLL" /
2
2115
by: Erik | last post by:
Hi Everyone, I'm having real problems compiling some source for eVC4++. The errors I am getting are below: It all seems to be centred around winsock. If I move the afsock.h reference to before my other includes then I get lots of errors like C2011: 'fd_set' : 'struct' type redefinition warning C4005: 'FD_CLR' : macro redefinition which I understand are due to the fact that windows.h is being included in another header file as well as...
4
5823
by: Anders Eriksson | last post by:
Hello! I'm using VC++ 7.1 and MFC. In a header file that is located in a different directory that the main project I include a header file that is located in the main project directory. The project is called SCLaser. When I right-click on the #include "SCLaserDoc.h" and select Open Document SCLaserDoc.h, it can't find the file and lists all the directories that I
7
10923
by: mwt | last post by:
Is there a function in python that does what "locate" does in a bash shell? I know I could do it by using os.popen('locate'), but I'm curious if there's a Python "native" way to go about it. Only needs to work in Unix, but would be interesting if it was cross-platform. Thanks.
9
2422
by: hankssong | last post by:
hi all, I'm wondering how to locate the C header file where defines some struct variable,macro and function. In the MSDN, we can easily solve it by using INDEX search; but how we can do it in the Linux environment? I had tried man DIR; but I found no result:) thanks in advance!
4
1949
by: lovecreatesbea... | last post by:
The find() in <algorithmrequires two input iterators as its first and second arguments. In some of my code, I use vector<T>::begin() and vector<T>::end() as the first and second arguments. The T::operator== and T::operator!= are defined. And the code works. The begin() and end() of vector<Tare not input iterators but random access iterators, right? Why I use find() on vectors, are there something wrong? Class OgFile{
1
2424
by: Vinz | last post by:
Hello folks, After 1 evening of trying and reading a lot of (web)pages I have not succeeded in creating a .tlb file from my msoeapi.idl file. Also I'm a bit confused because some sources say MIDL.exe makes the type library and some say TlbImp.exe creates it. I tried using MIDL but it will only generate 4 new files and none of them is a .tlb file:
3
1817
by: robert | last post by:
In a makefile I want to locate the .so for a dynamically linked Python on Linux. (for cx_Freeze's --shared-lib-name) e.g. by running a small script with that Python. How to? Robert
0
8315
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8608
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6172
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5633
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.