* mixing Ada with C++
@ 1994-12-14 1:39 James Lee
1994-12-16 17:18 ` Cyrille Comar
0 siblings, 1 reply; 2+ messages in thread
From: James Lee @ 1994-12-14 1:39 UTC (permalink / raw)
I'm an electrical engineering student who is new to Ada. I speciallize in
signal and systems. Since I write prgrams to solve engineering problems,
I must be able to access Fortran libraries to avoid reinventing the wheel.
Unfortunately all my fellow students are using C++ for speed, compactness,
and irreadability. :) Here is the problem: Is Ada 9x able to access
object putout by C++, without doing some massive programming?
Also, after reading this news group for while, I stumbled upon some article
that address the problem of Ada being able to manipulate Fortran arrays
directly. I'm not quite sure if I understand the problem. I would appreciate
if someone would clarify the question. Thank you.
James Lee
SUNY@Buffalo
This is my sig. file... I'm too lazy to write one...
I'll finish writing one when we pay off the National Defficit...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mixing Ada with C++
1994-12-14 1:39 mixing Ada with C++ James Lee
@ 1994-12-16 17:18 ` Cyrille Comar
0 siblings, 0 replies; 2+ messages in thread
From: Cyrille Comar @ 1994-12-16 17:18 UTC (permalink / raw)
jameslee@acsu.buffalo.edu (James Lee) writes:
: Unfortunately all my fellow students are using C++ for speed, compactness,
: and irreadability. :) Here is the problem: Is Ada 9x able to access
: object putout by C++, without doing some massive programming?
GNAT offers a low-level interface to C++. If you just want to access C++
objects this is very simple, if you want to inherit from C++ classes and
dispatch across languages this is not VERY hard but you must know what you are
doing... Take a look at the examples distributed with GNAT, there is a test
program that works with G++. You can also find some preliminary documentation
in pub/gnat/docs (ftp cs.nyu.edu)
--
------------------------------------------------------------------------
Cyrille Comar, E-mail: comar@cs.nyu.edu
Gnat Project US phone: (212) 998-3489
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-12-16 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-12-14 1:39 mixing Ada with C++ James Lee
1994-12-16 17:18 ` Cyrille Comar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox