Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #11461

Custom Longest Common Substring which includes a number fails when word appears before number

From Alec Taylor <alec.taylor6@gmail.com>
Newsgroups comp.lang.c++
Subject Custom Longest Common Substring which includes a number fails when word appears before number
Date 2011-11-14 09:32 -0800
Organization http://groups.google.com
Message-ID <15299392.40.1321291939533.JavaMail.geo-discussion-forums@prgt40> (permalink)

Show all headers | View raw


Good morning,

Unfortunately my Custom Longest Common Substring function which includes a number failed when a word appears before the number.

This one works: http://ideone.com/SSoTe

This one fails: http://ideone.com/9xkB5

The second should have the same output as the first.

Can you point out the bug in my code?

Thanks for all suggestions,

Alec Taylor

Back to comp.lang.c++ | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Custom Longest Common Substring which includes a number fails when word appears before number Alec Taylor <alec.taylor6@gmail.com> - 2011-11-14 09:32 -0800
  Re: Custom Longest Common Substring which includes a number fails when word appears before number Leigh Johnston <leigh@i42.co.uk> - 2011-11-14 17:49 +0000
    Re: Custom Longest Common Substring which includes a number fails when word appears before number Alec Taylor <alec.taylor6@gmail.com> - 2011-11-14 10:07 -0800

csiph-web