comp.lang.ada
 help / color / mirror / Atom feed
Subject: converting - adasockets
Date: Mon, 11 Jun 2001 08:50:09 +0200
Date: 2001-06-11T06:51:11+00:00	[thread overview]
Message-ID: <20010611.085009.1789366143.627@zamek.gda.pl> (raw)

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



             reply	other threads:[~2001-06-11  6:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11  6:50  [this message]
2001-06-11  9:22 ` converting - adasockets Gerald Kasner
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