| delorie.com/archives/browse.cgi | search |
| From: | "Tony O'Bryan" <aho450s AT nic DOT smsu DOT edu> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Silly Elementary Question |
| Date: | Thu, 25 Dec 1997 20:30:19 -0600 |
| Organization: | Southwest Missouri State University |
| Lines: | 12 |
| Message-ID: | <34A316BB.14A8@nic.smsu.edu> |
| References: | <01bd10b8$85d81640$893b37a6 AT jim> <34A1BC28 DOT 6306 AT cs DOT com> |
| Reply-To: | aho450s AT nic DOT smsu DOT edu |
| NNTP-Posting-Host: | sara.a19.smsu.edu |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
John M. Aldrich wrote: > DJGPP. The following will both work: > > #include "d:\\djgpp\\include\\stdio.h" > #include "d:/djgpp/include/stdio.h" Backslashes are not escaped inside #include directives, and DJGPP will emit a warning (at least on my system) if the first example above is used to point to an absolute location. Typing #include "drive:\dir1\dir2\...\file.h" will work (though, as John mention, it should never be used to point to standard include files) with DJGPP.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |