From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,6f9e057494208191
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2002-04-25 11:32:07 PST
Path:
archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!deine.net!freenix!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: C++ binding
Date: 25 Apr 2002 20:32:06 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References: <85u1pz7jxu.fsf@frit.mine.nu>
NNTP-Posting-Host: avelizy-103-1-3-141.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: wanadoo.fr 1019759527 10506 217.128.47.141 (25 Apr 2002 18:32:07 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 25 Apr 2002 18:32:07 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Xref: archiver1.google.com comp.lang.ada:23115
Date: 2002-04-25T18:32:07+00:00
List-Id:
Dominique Devriese 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"