Re: Simplicity has a future
- From: Ian Collins <ian-news@xxxxxxxxxxx>
- Date: Wed, 31 May 2006 22:22:32 +1200
Richard Heathfield wrote:
Ian Collins said:It might not be in your code, but the very fact that the code is legal C
Richard Heathfield wrote:
Read the code more carefully. I think you jumped to a false conclusion.
OK, it may be legal C, but it ain't pretty.
#include <stdio.h>
int main(void)
{
char title__of__the__program[81] =
"C to C++ Translation\nONLY extra casts and renaming"
" of variables are allowed.\n\n\n\n\n";
printf( "%s\n", title__of__the__program );
But my code very definitely did not do that. If you want to introduce
arbitrary errors into your copy of the code, that's up to you, but the
error was not present in /my/ code.
makes me cringe and carry on checking my C code with my C++ compiler.
--
Ian Collins.
.
- Follow-Ups:
- Re: Simplicity has a future
- From: Richard Heathfield
- Re: Simplicity has a future
- References:
- Simplicity has a future
- From: jacob navia
- Re: Simplicity has a future
- From: Tomás
- Re: Simplicity has a future
- From: jacob navia
- Re: Simplicity has a future
- From: Tomás
- Re: Simplicity has a future
- From: Keith Thompson
- Re: Simplicity has a future
- From: Tomás
- Re: Simplicity has a future
- From: Richard Heathfield
- Re: Simplicity has a future
- From: Harald van Dijk
- Re: Simplicity has a future
- From: Ian Collins
- Re: Simplicity has a future
- From: Richard Heathfield
- Re: Simplicity has a future
- From: Ian Collins
- Re: Simplicity has a future
- From: Richard Heathfield
- Re: Simplicity has a future
- From: Ian Collins
- Re: Simplicity has a future
- From: Richard Heathfield
- Simplicity has a future
- Prev by Date: Re: Regarding free function
- Next by Date: Re: Hiding a file
- Previous by thread: Re: Simplicity has a future
- Next by thread: Re: Simplicity has a future
- Index(es):
Relevant Pages
|