home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12910 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.3 KB  |  36 lines

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