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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a160a03a229a5521 X-Google-Attributes: gid103376,public From: "Tarjei Tj�stheim Jensen" Subject: Re: Graphic and C/C++ programs in Ada? Date: 1999/06/17 Message-ID: <7kav5m$9tb1@ftp.kvaerner.com>#1/1 X-Deja-AN: 490670455 Content-Transfer-Encoding: 7bit References: <7k9t72$8k2$1@nnrp1.deja.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Kv�rner Oil & Gas Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-06-17T00:00:00+00:00 List-Id: 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,