HI, a question on #include
- From: "sunnylele" <sjsongjing@xxxxxxxxx>
- Date: 31 Mar 2006 08:48:33 -0800
Hi, all,
I have a question on the use of #include:
#include <unistd.h>
#include <asm/unistd.h>
#include "nn.h"
What are the differences between the above three usages?
It seems the third one allows the code to include the nn.h in the same
directory of the code;
the first one allows the code to include the unistd.h from some other
directory without any specification;
the second one asks the code to include the unistd.h under
somedirectory .../asm/unistd.h.
Then another question is:
If there exist 2 files named unistd.h, one is
..../sys/unistd.h, the other is .../asm/unistd.h, which one will be
included by
#include <unistd.h>
Thanks for your help!
Jing
.
- Follow-Ups:
- Re: HI, a question on #include
- From: Jack Klein
- Re: HI, a question on #include
- Prev by Date: best way to index numerical text data ?
- Next by Date: What will happen if main called in side main function?
- Previous by thread: best way to index numerical text data ?
- Next by thread: Re: HI, a question on #include
- Index(es):