Afficher un message
Vieux 19/10/2007, 05h41   #2
Thomas Lumley
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't locate my include files

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\include> which I thought would solve the "can't find error" I
> was getting for my printf statements etc. etc.


If you want to include stdio.h you should just be able to write
#include <stdio.h>

If you want #include to find files other than the Standard headers
then read your compiler documentation to find out how it handles files
and paths. This is officially implementation-defined, ie, the
implementation is required to document it.

-thomas

  Réponse avec citation
 
Page generated in 0,04408 seconds with 9 queries