Re: Use preprocessor in header
- From: Thad Smith <ThadSmith@xxxxxxx>
- Date: Mon, 14 Apr 2008 18:08:56 -0600
Bryan Parkoff wrote:
I plan to create a library when I complete the implementation in both header code and source code. I declare variable and function in header code and I define variable and function in source code.
Do I truly need to use preprocessor if C Compiler does not need to recompile unmodified header code and source code?
Yes, if you want the compiler to include the header files.
What about pragma?
Yes, what about pragma?
--
Thad
.
- References:
- Use preprocessor in header
- From: Bryan Parkoff
- Use preprocessor in header
- Prev by Date: Re: How do I create a function in my library for passing user callback function
- Next by Date: Re: Network modules
- Previous by thread: Use preprocessor in header
- Next by thread: Re: Use preprocessor in header
- Index(es):
Relevant Pages
|