Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-ses!hpcuhb!hpindda!hardin From: hardin@hpindda.HP.COM (John Hardin) Newsgroups: comp.lang.c++ Subject: C++ masquerading as C ... How? Message-ID: <6170011@hpindda.HP.COM> Date: 6 Jan 90 01:22:34 GMT Organization: HP Information Networks, Cupertino, CA Lines: 19 Pardon the ignorance of a beginner, but can someone tell me how to make a separately compiled function written in C++ look like a normal C function to a program written in C? Is this possible, or must the C program call the external function by the encoded name produced by C++? I inferred that this was possible from a line in B. Stroustrup's article "Type-safe Linkage for C++": This leaves the problem of how to call a C function or a C++ function "masquerading" as a C function. What I'm asking is how one makes a C++ function masquerade as a C function. Thanks in advance for any help. John Hardin Hewlett Packard, Information Networks Division hardin%hpindgi@hplabs.hp.com ----------------------------