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-Thread: 103376,680defdd64d3300 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: 19owls <19@owls.org> Subject: Re: Help on Package_Name Date: Tue, 23 Nov 2004 12:45:21 +0800 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-ID: Newsgroups: comp.lang.ada References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 218.212.214.251 X-Trace: 23 Nov 2004 12:44:47 +0800, 218.212.214.251 Organization: StarHub Internet Pte Ltd Path: g2news1.google.com!news3.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!newsvr.starhub.net.sg!news.starhub.net.sg!218.212.214.251 Xref: g2news1.google.com comp.lang.ada:6355 Date: 2004-11-23T12:45:21+08:00 List-Id: Thanks i found this on the web so i think it's closest to the student_io i was looking for for the time being http://www.adaworks.com/standard_io.htm anyway, i'm running linux Fedora with a gnat compiler and i also found where they keep the libraries for ada. so now i know where to keep my package files. the book i had was from a library so there's no CDrom with it and it's really old (1985) Adacraft looks good. for the meantime, i'd just have to read up and be versed with the packages to use or create so that i can learn further. Regards -- Can't you read? --19 -- > =) first question i might just be able to help on ... > you said you're using the GNAT compiler - this is good, since i know the > folder where the standard package files are stored; > the default is (for Windows at least): > C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adainclude > the only slight problem is that the filenames are a bit cryptic - BUT you > have the ability now to browse through ALL the standard specification files > for the packages at leisure (you may want to check up some on packages from > your book beforehand, and if the book has nothing on packages, get a new > book - i am using ADA95 The craft of object oriented programming by John > English ... > mostly because the book is available for free from the following webaddress > http://www.it.bton.ac.uk/staff/je/adacraft/ > for my ADA studies. > (the same guy also does a newbies GUI programming package called JEWL, > kindly pointed out to me a few days ago on here, thanks again to those guys > =) > > The main standard packages i find myself (also newbie programmer) using are > (not a comprehensive listing though): > ada.text_io > ada.integer_text_io > ada.float_text_io > > ada.text_io deals with character input - this includes strings which are > just arrays of characters > and .. well .. you guessed it .. ada.integer_text_io and ada.float_text_io > deals with integer and floating point number types respectively > > hope this helped =) > > > "19owls" <19@owls.org> wrote in message > news:pan.2004.11.21.16.59.26.803863@owls.org... >> Hi. It's my first day with Ada. heard many wonderful things about it. >> i'm not studying programming, but i've done basic C before. >> obviously i've read and managed to compile the infamous >> Hello World! >> >> i have a beginners book on Ada, it keeps referring to student_io package >> name for the exercises and examples which is not known to gnat. i need to >> know what package name to use whilst handling text, calculations,strings >> and so on beyond text_io (which handles strings only i suppose). >> >> in future how do i know of the list of package names to use and what it is >> for? thanks.