Thread: [Help]C++
View Single Post
Old 11-16-2010   #7
ZC
Registered Member
 
ZC's Avatar
 
Last Online: 07-15-2013
Join Date: Aug 2006
Posts: 100
Thanks: 13
Thanked 24 Times in 24 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default

man lek ana my algorithm.. baddeh illo inno isa le2a ya3mol compare la a[1] ma3 b[1] isa different icrement a[1] only isa a[i]==a[j] start incrementing both. isa kholis il b[j] w il boolean inno is substring is true ktir mni7... isa le2a a[i] different than b[j] bya3teh boolean false..hek...badda nested while loops 2 i think...
__________________
Books all say different things while people flap their yellow wings trying
to soar by being a whore of life!!!!




ZC is offline   Reply With Quote