Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C Programming (http://www.velocityreviews.com/forums/f42-c-programming.html)
-   -   Re: Who owns the variable in my header file ? (http://www.velocityreviews.com/forums/t953041-re-who-owns-the-variable-in-my-header-file.html)

Eric Sosman 10-04-2012 03:40 PM

Re: Who owns the variable in my header file ?
 
On 10/4/2012 10:52 AM, lipska the kat wrote:
> On 04/10/12 12:26, David Brown wrote:
>> On 04/10/2012 12:23, lipska the kat wrote:
>>> On 03/10/12 19:13, lipska the kat wrote:
>>>

>
> [snip]
>
>> "foo.c" contains all the implementation.
>>
>> // foo.h
>> #ifndef foo_h__
>> #define foo_h__

>
> I don't understand what this means or why you are doing it
>
> Can you explain?


See Question 10.7 on the comp.lang.c Frequently Asked
Questions (FAQ) page at <http://www.c-faq.com/>.

(The rest of the FAQ would be a good read, too.)

--
Eric Sosman
esosman@ieee-dot-org.invalid


All times are GMT. The time now is 09:38 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.