comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: C++ binding
Date: 25 Apr 2002 20:32:06 +0200
Date: 2002-04-25T18:32:07+00:00	[thread overview]
Message-ID: <uelh3hbo9.fsf@wanadoo.fr> (raw)
In-Reply-To: 85u1pz7jxu.fsf@frit.mine.nu


Dominique Devriese <fritmebufstek@pandora.be> writes:

> Hi, i'm completely new to Ada, but i'm considering learning it...
> What i would like to know however, is if it is possible to use C++ or
> C libraries in Ada programs, since most of my programming work
> requires using those library's.  Can anyone give me some pointers
> on where to find information about this ?
> domi

Yes it is possible. Ada has a special annexe for interfacing to other
languages. See Annexe B in the Ada Reference Manual. Look at the Interfaces.C,
Interfaces.C.Strings and Interfaces.C.Pointers pacakges. Note that Ada has
also interfaces API for Fortran and COBOL.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"



      parent reply	other threads:[~2002-04-25 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-25 17:43 C++ binding Dominique Devriese
2002-04-25 18:27 ` Marin David Condic
2002-04-25 18:32 ` Pascal Obry [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox