This website requires Javascript to function properly. Please go to the setting of your web browser and enable Javascript for this website.
×
Loading...
Close
Home
Share
代码如下也许有错误不过问题不会很大.
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)
Last Updated: 2001-4-9
This post has been archived. It cannot be replied.
Share
Report
Replies, comments and Discussions:
a c++ test for c++ friends
枫下论坛主坛
/
工作学习
/
IT技术讨论