Re: include
  Home FAQ Contact Sign in
microsoft.public.vc.language only
 
Advanced search
POPULAR GROUPS

more...

microsoft.public.vc.language Profile…
 Up
Re: include         


Author: Doug Harrison [MVP]
Date: Mar 20, 2008 02:28

On Wed, 19 Mar 2008 18:04:20 -0800, Carmen Sei yahoo.com>
wrote:
>hi when include headers in VC++ what's different when using
>
>< > or " " like the following?
>
>
>#include "ne_session.h"
>#include

For non-absolute paths, the quoted form begins the search in the directory
of the file making the #include and falls back to the angle-bracket form if
it doesn't find the file there. For more, see:

The #include Directive
http://msdn2.microsoft.com/en-us/library/36k2cdd4.aspx

Actually, I see now there's an extra step (2):


1. In the same directory as the file that contains the #include statement.
Show full article (1.15Kb)
1 Comment
Re: include         


Author: Abhishek Padmanabh
Date: Mar 20, 2008 03:40

"Doug Harrison [MVP]" mvps.org> wrote
> On Wed, 19 Mar 2008 18:04:20 -0800, Carmen Sei yahoo.com>
> wrote:
>
>>hi when include headers in VC++ what's different when using
>>
>>< > or " " like the following?
>>
>>
>>#include "ne_session.h"
>>#include
>
> For non-absolute paths, the quoted form begins the search in the directory
> of the file making the #include and falls back to the angle-bracket form
> if
> it doesn't find the file there. For more, see:
>
> The #include Directive
> http://msdn2.microsoft.com/en-us/library/36k2cdd4.aspx
> ...
Show full article (1.57Kb)
no comments