comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Krischik" <krischik@users.sourceforge.net>
Subject: Re: A curiosity...
Date: Fri, 05 Dec 2008 14:09:25 +0100
Date: 2008-12-05T14:09:25+01:00	[thread overview]
Message-ID: <op.uloxhzm7z25lew@macpro.krischik.com> (raw)
In-Reply-To: 87r64naw36.fsf@willow.rfc1149.net

Am 05.12.2008, 09:02 Uhr, schrieb Samuel Tardieu <sam@rfc1149.net>:

> #include <stdio.h>
> int main()
> {
>   printf("integer size is %d, pointer size is %d\n",
>          sizeof(int), sizeof(void*));
>   return 0;
> }

Of course my copy ISO C standart states that only intptr_t and uintptr_t  
*need* to be lange enough to hold a pointer. The real problem is that most  
C programmers don't know that. Which gets us back to the "C is alright -  
just get better programmers". Only: realy good C programmers are just as  
scares as Ada progammers.

Martin

-- 
Martin Krischik



  parent reply	other threads:[~2008-12-05 13:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 20:47 A curiosity mockturtle
2008-12-04 21:17 ` Adam Beneschan
2008-12-04 21:48   ` Hyman Rosen
2008-12-04 22:04     ` Ludovic Brenta
2008-12-04 22:10       ` Ludovic Brenta
2008-12-04 22:24         ` Hyman Rosen
2008-12-05  8:02         ` Samuel Tardieu
2008-12-05 11:51           ` Peter C. Chapin
2008-12-05 13:09           ` Martin Krischik [this message]
2008-12-05 15:15             ` Hyman Rosen
2008-12-06 13:26             ` Peter C. Chapin
2008-12-05 16:37           ` Keith Thompson
2008-12-04 22:19       ` Hyman Rosen
2008-12-05  9:03       ` Georg Bauhaus
2008-12-04 22:30 ` Randy Brukardt
2008-12-04 22:57   ` Hyman Rosen
2008-12-05 16:42     ` Keith Thompson
2008-12-05 16:57       ` Hyman Rosen
2008-12-05 20:20         ` Keith Thompson
2008-12-05 20:59           ` Adam Beneschan
2008-12-06 22:53             ` Hyman Rosen
2008-12-06 23:15               ` Gary Scott
2008-12-08 15:39                 ` Hyman Rosen
replies disabled

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