×

Loading...

代码如下也许有错误不过问题不会很大.

guest (fang)
template <class Src> bool equal (Src I, Src j, Src p){
while ((i!=j) && ((*i)==(*p))) { ++i; ++p; }
if (i==j) return true;
else return false;
}
(#42412@0)
2001-4-9 -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技术讨论