Saturday, May 22, 2010

I want help in c++?

hey here abhishek i want to know the way to compare two strings word by word in c++

I want help in c++?
this should be in the programming section not here in the words %26amp; wordplay section..
Reply:try





www.cprogramming.com





if u dont get da solution...just mail me da query
Reply:string s = "hi how ate";


string s2 = "hi hello fine";


for i=0 ;i %26lt;s.Length;i++


{


if (s[i]=s2[i])


}


Try like this..


Me working in .net..


Plz check

imperial

No comments:

Post a Comment