delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/11/11:52:20

Message-ID: <00dd01bdace3$1315ee80$604e08c3@arthur>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>
Subject: Re: #include doesn't work
Date: Sat, 11 Jul 1998 15:25:03 +0100
MIME-Version: 1.0

>> My #include doesn't work. This is how I write:
>>
>> #include <"jhe3dx.h">
>>
>> but adding standardheaders work, like:
>>
>> #include <"string.h">
>>
>> The .C-file and the .H file are in the same directory. I have also tested
>> to specify full path without reults. I have installed DJGPP v.2 correctly
>> according to djgppfaq.txt. Can anyone help me out?

>>#include <"jhe3dx.h">
>I don't think you have to write it in that way try something like this
>#include <jhe3dx.h>
>without using " "


No, you write #include "jhe3dx.h"

You use " and " for when the .h file is in the same directory as your C
file. You use < and > when the .h file is one of the preset directories
(i.e. the /include/ folder).

James Arthur
jaa AT arfa DOT clara DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019