[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] c biblioteker i c++



On Mon, 10 Mar 2003 10:05:45 +0100, Peter Maersk-Moller wrote:

> Hej Brian
> 
> Brian Josefsen wrote:
>> Hej
>> 
>> Jeg sidder og roder rundt i C++, og fra tid til anden falder man over et
>> eller andet smart bibliotek som man gerne vil bruge, men så er det lavet
>> til C. Er der nogen generel måde man skal få det til at spille, eller er
>> det dumt at gøre? Skal man tage til takke med hvad man kan finde ?
> 
> Ja. Jeg skal f.eks. bruge libmpeg2 i en C++ app. Headerne til libmpeg2
> skal inkluderes på følgende måde
> 
> #ifdef __cplusplus
> extern "C" {
> #endif
> #include <mpeg2dec/mpeg2.h>
> #ifdef __cplusplus
> }
> #endif
> 
> Der ud over skal jeg så linke det pågældende lib på sædvanlig vis.
> 
> --PMM
> 

Jeg tror ikke lige jeg fik helt fat i det. Kan man så altid gøre sådan,
eller er det forskelligt fra gang til gang ? Jeg forstår selvfølgelig at
navnet skal erstattes.


--
/Josefsen
"Linux, fordi det er sejt!"


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *