Lisp vs. C++ (not off-topic)
lio at lunesu.remove.com
Fri Oct 13 08:09:48 PDT 2006
While trying to understand the c++ implementation, I found out what the
problem was. The c++ version does not allow a digit at position k if
there's a word in the dictionary that matches the digits at k..n, even
if that word cannot actually be used in the encoding because of a
mismatch anywhere after n.
For example 30694, there IS a word matching "306", "sei" and therefor,
the result "3-/0--69-4: 3 echt" is not considered..
More information about the Digitalmars-d