Re: printf("%d ", INT_MAX);
CBFalconer wrote, On 15/03/07 21:52:
<pedantic>
What about:
int main(void)
{
return 0;
}
</pedantic>
I think we can deal with code that is not strictly conforming within
certain limits. Such as, to take a simple example, a program printing
values from limits.h
--
Flash Gordon
CBFalconer wrote, On 15/03/07 21:52:
Eric Sosman wrote:
... snip ...
>
I don't think a strictly conforming *program* exists,
... snip ...
> The distinction between strictly conforming and conforming
>programs is one that the Standard is pretty much forced to make,
>but it has always seemed to me that the Standard's definition
>of strict conformance is too restrictive to be as useful as it
>should be. When a program like Kenneth Brody's turns out not
>to be strictly conforming, I think the baby has been thrown out
>with the bath water. But I have no better definition to offer,
>so I can't complain very convincingly!
>programs is one that the Standard is pretty much forced to make,
>but it has always seemed to me that the Standard's definition
>of strict conformance is too restrictive to be as useful as it
>should be. When a program like Kenneth Brody's turns out not
>to be strictly conforming, I think the baby has been thrown out
>with the bath water. But I have no better definition to offer,
>so I can't complain very convincingly!
I don't think a strictly conforming *program* exists,
What about:
int main(void)
{
return 0;
}
</pedantic>
but many
strictly conforming *routines* do exist. I.E. those routines that
can be implemented anywhere.
strictly conforming *routines* do exist. I.E. those routines that
can be implemented anywhere.
certain limits. Such as, to take a simple example, a program printing
values from limits.h
--
Flash Gordon
Comment