Subject: How to call a C++ program from C?

From: Tao Peng <[email-masked]>
Date: Tue, 28 Sep 1999 20:32:21 -0700 (PDT)

Dear All,

I have a big program which is written in C and Fortran, but mainly in C.
The author compile each module by their own compiler ( cc and f77 on SGI) 
and link them by f77.

Now I have another C++ program (still others) and want incorporate it 
into the previous big program.

My idea is want to call C++ from C, but compile them separately, and link 
them altogether.

Can anyone tell me whether this idea is possible, or have better suggestion?

Thank very in advance.

Have a nice day!!!

                                Yours Sincerely
                                Tao Peng

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*   	                                               	\*
\*      Tao Peng                                        \*
\*                                                      \* 
\*      Molecular Design Laboratory                     \*
\*      Institute of Physical Chemistry	                \*
\*      Peking University                               \*
\*      Beijing, 100871	                                \*
\*      P.R.China                                       \*
\*                                                      \*
\*      E-mail:[email-masked]                 \*
\*      Lab Phone: 86-10-62756833                       \*
\*      Fax Number:86-10-62751725                       \*
\*      http://www.ipc.pku.edu.cn/~taop/                \*
\*      Address:Peking University Building 46 Room 2122 \*
\*      Dormitory Phone: 86-10-62761206                 \*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*