home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!hrz.tu-chemnitz.de!igrdb
- From: igrdb@informatik.tu-chemnitz.de (Ingo Gringer)
- Subject: Combine c and c++ possible?
- Message-ID: <igrdb.714836016@hrz.tu-chemnitz.de>
- Summary: How?
- Sender: bin@hrz.tu-chemnitz.de (Owner of all binaries)
- Organization: tu-chemnitz
- Date: Wed, 26 Aug 1992 13:33:36 GMT
- Lines: 24
-
- Hi everywhere,
-
- Please be indulgent if that's just another nonsense question!
-
- I try to connect two applications which are programmed in c++
- and otherwise in c. Now I want to combine these programs, but
- there is an hump: they need their own libraries and the c-
- application is not compiled through the c++. It fails with the
- error, that a function used in the special c-library is not
- declared. Thats correct but doesn't irritate the c-compiler.
- I dont know where he obtains his informations. One lib contains
- finally the needed function.
-
- Is it possible to link the object files produced by c++ or c
- together? Trying this generates permamently an error that my
- function I wrote in the c-programm are not defined. But
- I told the c++ - part everything with my headerfiles.
-
- What is wrong? Why doesn't it works?
-
- Any hints would be very much appreciated.
-
- Please responds by email.
- Ingo
-