Lisp vs. C++ (not off-topic)

AndBre nospam at nowhere.null
Wed Oct 11 04:05:47 PDT 2006


On Wed, 11 Oct 2006 13:45:29 +0300, Lionello Lunesu wrote:

> I give up. I can't figure out why those phone numbers are missing from
> their output.
> 
> I've attached what I have so far. It's pretty nice, readable, and uses
> quite a few of D goodies ;)
> 
> L.
>It was sooo easy in D! I got it done in 1 hour 15 minutes.. But, my 
>results differ from theirs and I can't figure out why.
>
>For example, my prog comes up with "3-/0--69-4: 3 echt", which seems 
>correct ("echt" is in the dictionary and is coded as "0694"), but their
>output.txt has nothing for the phone number "3-/0--69-4" ???
> L.

I just looked in the dictionary and "etch" isn't there. Maybe you are
searching for "etch" and find "Sketch", "Ketchup"? If this is the case you
can just look for the word preceeded by \n. Hope this helps.
Can you repost your code I cannot see your attachment.
AndBre






More information about the Digitalmars-d mailing list