how to find the longest meaning substring?
I learned C abt 4 years ago, and havn't touched it since then. Recently, I need to program in C to find the longest meaning substring of a string without white space, given a sorted dictionary text file.
For example, I've a string "europeaninvestmentbank", I first want to identify "european" "investment" "bank", among other possible meaningful substrings, and then find the length of longest meaningful substring is 10 for "investment".
Is there any existing solutions in C?
Or I need to implement from scratch?
Thanks a million!