正在加载图片...
int intcompare类 class int_intcomparet /比较两个整型记录大小 public static bool It (int x,inty return x<yi] static bool eq (int x, inty return X==Yi] static bool gt(int x,int y ireturn x>Vi static bool le(int x y return x<=yil static bool ge(int x, int y freturn x>=Yil 北京大学信息学院 版权所有,转载或翻印必究 Page 15北京大学信息学院 ©版权所有,转载或翻印必究 Page 15 int_intCompare 类 class int_intCompare{ //比较两个整型记录大小 public: static bool lt(int x,int y) {return x<y;} static bool eq(int x,int y) {return x==y;} static bool gt(int x,int y) {return x>y;} static bool le(int x,int y) {return x<=y;} static bool ge(int x,int y) {return x>=y;} };
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有