POV-Ray : Newsgroups : povray.off-topic : My first C++ program : Re: A test Server Time
1 Oct 2024 07:21:57 EDT (-0400)
  Re: A test  
From: Vincent Le Chevalier
Date: 20 Sep 2008 15:24:58
Message: <48d54e0a$1@news.povray.org>
Orchid XP v8 a écrit :
>   putStr "Guess: "

>     LT -> do putStrLn "Too low.";  guess target
>     GT -> do putStrLn "Too high."; guess target
>     EQ -> do putStrLn "You win!"
> 
> Does that look like line noise to you? Or can you figure out what that 
> does?

Honestly just from the strings that are being printed one can guess what 
this program is meant to be doing... Should be true of any language. 
Well one where the strings do not have to be somehow encoded of course ;-)

-- 
Vincent


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.