Results 1 to 3 of 3

Thread: What the different between <> and "" within the #Include statement?

  1. #1

    Thread Starter
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    What the different between <> and "" within the #Include statement?

    Jus wandering to know what the different between this to statement?

    PHP Code:
    #Include <windows.h> 
    Does the above statement will lead the compiler to source for the include header file within the source path as specified under the "Tools|Option|Directory"?


    PHP Code:
    #Include "windows.h" 
    And this will lead the compiler to source foe the include header file within the current project file directory?


    K-PAX

  2. #2
    Frenzied Member Zaei's Avatar
    Join Date
    Jul 2002
    Location
    My own little world...
    Posts
    1,710
    Almost right.

    Using quotes will first search the current path, and then the default include directories.

    Z.

  3. #3

    Thread Starter
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    Thx, Zaei

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width