comp.lang.ada
 help / color / mirror / Atom feed
From: Gerald Kasner <Gerald.Kasner@Physik.Uni-Magdeburg.DE>
Subject: Re: converting - adasockets
Date: Mon, 11 Jun 2001 11:22:55 +0200
Date: 2001-06-11T11:22:55+02:00	[thread overview]
Message-ID: <3B248DEF.B62326E9@Physik.Uni-Magdeburg.DE> (raw)
In-Reply-To: 20010611.085009.1789366143.627@zamek.gda.pl

""Micha� Nowikowski\" \"" schrieb:
> 
> Hello
> 
> Im writting a program which reads some data from a socket
> (i used adasockets). And i've problem with converting
> this date from String to fg Integer. How could i do that.
> In C it woul look like:
> 
>  char s[10];
>  int i;
> 
>  i = *(int*)s;
> 
> but in Ada?
> 
> thanks in advance
> Godfryd

look for a book or a tutorial:

http://goanna.cs.rmit.edu.au/~dale/ada/aln/4_basic_types.html#RTFToC13



  reply	other threads:[~2001-06-11  9:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11  6:50 converting - adasockets 
2001-06-11  9:22 ` Gerald Kasner [this message]
2001-06-11 10:17 ` David C. Hoos, Sr.
2001-06-11 11:45   ` Gerald Kasner
2001-06-11 15:59     ` James Rogers
2001-06-11 16:29       ` James Rogers
2001-06-12  1:19         ` Ken Garlington
2001-06-12  4:41           ` James Rogers
2001-06-11 16:33 ` tmoran
2001-06-18 17:13 ` Stephen Leake
replies disabled

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