[Prev][Next][Index][Thread]

Re: C++



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


References: