NX11+VS2013

 #include <uf.h>
#include <uf_ui.h> UF_initialize(); string A = "ABC";
string B = "ABC";
int C = B.compare(A);
if (C == )
{
uc1601("相等", );
}
else
{
uc1601("不相等", );
} UF_terminate();

NX二次开发-比较两个string是否相等-LMLPHP

05-11 20:35