comp.lang.ada
 help / color / mirror / Atom feed
From: "Tarjei Tj�stheim Jensen" <tarjei.jensen@kvaerner.no>
Subject: Re: Graphic and C/C++ programs in Ada?
Date: 1999/06/17
Date: 1999-06-17T00:00:00+00:00	[thread overview]
Message-ID: <7kav5m$9tb1@ftp.kvaerner.com> (raw)
In-Reply-To: 7k9t72$8k2$1@nnrp1.deja.com


mehrdad1@my-deja.com wrote:

 >1-What is the equivalent instruction in Ada for "gotoxy" in
>c/c++?

This is possibly a Borland specific function. I seems to remember it being used
in DOS programming many years ago. The Ada equivalent depends on what
environment you program in. E.g. Unix or windows.

You may have to write your own versions of that function or use an exisiting
library. Doing it yourself is not neccessarily difficult, but perhaps a lot of
work. If you want to find out how, have a look in the library to see how any
socket routines are done. They should import routines from C libraries.

Try looking around in http://www.adahome.com or http://www.adapower.com/. The
latter may be more appropriate if you use windows.

>2-Is it possible to write graphical programs with Ada?

Yes there is quite a few libraries available.


>3-Is it possible to use already written C/C++ programs in a
>new Ada program?(Then can we use from synchronizing ability of
>Ada programming?)


It is probably possible, but not neccessarily easy to do. You may want to look
this up in the compiler documentation if you can find it.


Greetings,







  reply	other threads:[~1999-06-17  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-17  0:00 Graphic and C/C++ programs in Ada? Dale Stanbrough
1999-06-17  0:00 ` mehrdad1
1999-06-17  0:00   ` Tarjei Tj�stheim Jensen [this message]
1999-06-17  0:00   ` Decker, Christian R
1999-06-17  0:00   ` David Botton
replies disabled

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