Article View: comp.std.c++
Article #1340Calling c++ from a c program
From: Roland Schwan
Date: Wed, 26 Jun 1991 14:18
Date: Wed, 26 Jun 1991 14:18
37 lines
916 bytes
916 bytes
Hello netters!
Is there any chance to call a C++- method from a c-program?
Such as :
...c-file:
main()
{....
..
something();
....
}
...c++-file:
....
void something();
{
cout << "Output of c++ \n";
}
When I tried this, all I got was a core dumped.
Any ideas?
Roland.
____________________________________________________
Roland Schwan
rs@heike.informatik.uni-dortmund.de
It's better to burn out, than to fade away! (Kurgan)
____________________________________________________
Technical Details
Message-ID:
<3575@laura.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!unido!laura!heike!rsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!unido!laura!heike!rs From: rs@heike.informatik.uni-dortmund.de (Roland Schwan) Newsgroups: comp.std.c++ Subject: Calling c++ from a c program Message-ID: <3575@laura.UUCP> Date: 26 Jun 91 14:18:39 GMT Sender: news@laura.UUCP Organization: University of Dortmund, Germany Lines: 37