Re: Linking a C++ library to a C program.



"S.Tobias" wrote:
> CBFalconer <cbfalconer@xxxxxxxxx> wrote:
>
>> Not quite. I am quite willing for C++ users to call my code, so I
>> habitually insert the #ifdef __cplusplus__ guards for the 'extern
>> "C" {}' in the header files. That __cplusplus__ is not allowed to
>> be defined in the C system, for just this purpose.
>
> ITYM: __cplusplus

Yup, I always have to check that when I write a header file. At
least I know I am usually wrong.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson


.



Relevant Pages

  • Re: Breaking the materialism part 2
    ... But you mean "bottom" in the sense of getting to the "bottom" of things and so I agree. ... A person without the knowledge of the purpose of thing will perceive and utilize it based on what his senses and logic report. ... Faith by definition is "conscious knowledge and righteous deeds", according to the Guardian of the Baha'i Faith. ... I also explained before how we cannot completely trust any of the three levels of awareness we have such as our senses, intellect and faith. ...
    (soc.religion.bahai)
  • Re: cPCI SBC in 1u rack
    ... I didnt find it on that site, ... > purpose of getting a cheap powerful ultrasparc 1u server. ... the 3U backplane has to be fastened in the bottom half of the 6U rack, ... rack, ...
    (comp.arch.embedded)
  • Re: Low Traffic Groups for Jan - Oct 2005
    ... Free.uk still serves a purpose for users who couldn't get a uk group. ... WSB ... Prev by Date: ...
    (uk.net.news.config)
  • Re: Ginger??
    ... "The universe we observe has precisely the properties we should expect ... if there is, at bottom, no design, no purpose, no evil, no good, ...
    (rec.outdoors.rv-travel)
  • Re: how to make image on link ?
    ... JK is thinking probs with other browsers? ... the idea of setting z-index was just over-cautious. ... the issue of the link being at the bottom. ... about purpose, ...
    (alt.html)