W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1996

Re: C++

From: <kennykb@cobweb.crd.ge.com>
Date: Fri, 16 Feb 96 23:59:02 -0500
Message-Id: <9602162359.AA26921@cobweb.crd.ge.com>
To: holmberg@frame.com
Cc: Jiang Tao <jiangt@ceci.mit.edu>, www-lib@w3.org
Jiang Tao <jiangt@ceci.mit.edu> writes:
>It's true you can't call a C++ function from a C function
>compiled with a C compiler.

Nonsense.  Declare the C++ function, in the C++ program, to be
extern "C".
73 de ke9tv/2, Kevin KENNY   GE Corporate Research & Development
kennykb@crd.ge.com           P. O. Box 8, Room KWC273
                             Schenectady, New York 12301-0008 USA
Received on Friday, 16 February 1996 19:01:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:46 UTC