home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18371 < prev    next >
Encoding:
Text File  |  1992-12-23  |  629 b   |  14 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!microsoft!wingnut!pauljo
  3. From: pauljo@microsoft.com (Paul Johns)
  4. Subject: Re: How to call C++ functions in a C program?
  5. Message-ID: <1992Dec23.205258.367@microsoft.com>
  6. Date: 23 Dec 92 20:52:58 GMT
  7. Organization: Microsoft Corp.
  8. References: <1gqo0aINN5jj@function.mps.ohio-state.edu> <1gqbepINNt6s@function.mps.ohio-state.edu> <1gqe3lINNs1v@eagle.natinst.com> <SCHOUTEN.92Dec17125550@sp95.csrd.uiuc.edu>
  9. Lines: 3
  10.  
  11. You can't include iostream.h in a C program.  And you should link
  12. with the C++ runtime library, not the C runtime library.  I have
  13. no idea how to specify this under UNIX.
  14.