Re: Compiles without Executing
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 21:58:06 GMT
"CNerd2025" <andrew.elgert@xxxxxxxxx> wrote in message news:1141162944.818025.285280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
My boss, sort of an eccentric guy, came in today and asked if I could
write a program that:
a) compiles correctly
b) is logically correct, and
c) never executes.
I immediately told him a seg fault, but he said, "it is entirely
correct". He also mentioned that some guy at (he believes)
Rutherford-Appleton Laboratory has solved it with some 4-line program.
Anyone know what's up with it? Thanks.
Define "compiles correctly", "is logically correct" and "never executes".
For example, your boss seems to classify the behaviour of "seg fault" as violating "is logically correct", which is not intuitively true to me.
- Oliver
.
- Follow-Ups:
- Re: Compiles without Executing
- From: CNerd2025
- Re: Compiles without Executing
- References:
- Compiles without Executing
- From: CNerd2025
- Compiles without Executing
- Prev by Date: Re: Compiles without Executing
- Next by Date: Re: Compiles without Executing
- Previous by thread: Re: Compiles without Executing
- Next by thread: Re: Compiles without Executing
- Index(es):
Relevant Pages
|