×

Loading...

This program is still incorrect

liang_ll (applecore)
Src1 search (Src1 i, Src1 j, Src2 p, Src2q);
{
Src1 tSrc1, mSrc1=i;
Src2 tSrc2=p;
while(mSrc1!=j){
tSrc1=mSrc1;
tSrc2=p;
while((*tSrc1==*tScr2)&&(tSrc2!=q)&&(tSrc1!=j))
{
++tSrc1;
++tSrc2;
}
if ((tSrc2==q)&&(*tScr1==*tScr2))
return mSrc1;
mSrc1++;
}
return j;
}
}
(#43316@0)
2001-4-10 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: a c++ test for c++ friends

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论