include header

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • June Lee

    include header

    when include headers in C++ what's different when using

    < or " " like the following?


    #include "ne_session .h"
    #include <ne_uri.h>
  • Christopher

    #2
    Re: include header

    On Mar 19, 9:03 pm, June Lee <iiu...@yahoo.c omwrote:
    when include headers in C++ what's different when using
    >
    < or " " like the following?
    >
    #include "ne_session .h"
    #include <ne_uri.h>
    First hit on Google when searching for: include "" vs include <>


    Tryed Google advanced search to limit to this NG, but couldnt get it
    to work :(

    At any rate it has been asked before, Google is your friend.

    Comment

    • Alexander Dong Back Kim

      #3
      Re: include header

      On Mar 20, 1:03 pm, June Lee <iiu...@yahoo.c omwrote:
      when include headers in C++ what's different when using
      >
      < or " " like the following?
      >
      #include "ne_session .h"
      #include <ne_uri.h>
      #include "..." means the header file is in the same directory,
      where #include <...means the header file is in the directory that
      the compiler uses.

      My explanation is not covering everything about the differences
      between two. As Christopher recommended you, do some googling, you
      will find more than millions of tutorials =)

      cheers,
      Alex

      Comment

      Working...