Thread
:
compiling .c and .cpp files altogether ?
View Single Post
Re: compiling .c and .cpp files altogether ?
(#
2
)
sfx1999
Member
Status:
Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Re: compiling .c and .cpp files altogether ? -
13-12-2004
Maybe you have to wrap your C files like this:
Code:
#ifdef cplusplus extern "C" { #endif //the code #ifdef cplusplus } #endif
sfx1999.postcount++
sfx1999
View Public Profile
Send a private message to sfx1999
Find More Posts by sfx1999