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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b7c55e9fcf9f4826,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-11-07 18:14:09 PST From: jordan Newsgroups: comp.lang.ada Subject: program to separate the real and imaginary Date: Wed, 08 Nov 2000 09:21:04 +0800 Organization: Another Netscape Collabra Server User Message-ID: <3A08AA80.DD6C1640@hotmail.com> NNTP-Posting-Host: 203.168.165.72 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.berkeley.edu!ucberkeley!newsgate.cuhk.edu.hk!news-hk.telia.net!d2o501.telia.com!news-hk.gip.net!news.gsl.net!gip.net!210.80.60.19.MISMATCH!bassoon.!rain.i-cable.com!not-for-mail Xref: supernews.google.com comp.lang.ada:1871 Date: 2000-11-08T09:21:04+08:00 List-Id: Dear all, In Ada, if i want to input a complex number from the terminal like: 2+3i, 4-6i, -4-6i, 5i, 9 i want the program to separate the real part and the imaginary part, how can i do??? does Ada have type conversion from string(character array) to Integer, or something like????? since i want to prgroam this task by store the input from the terminal in a string(character array).......