zoukankan      html  css  js  c++  java
  • 比较两行数据

    custtable c1,c2;
    dicttable d = new dicttable(tablenum(custtable));
    dictfield f;
    int i;
    boolean areTheSame = true;
    ;
     
    c1 = custtable::find('4001');
    c2 = custtable::find('4001');
     
    for(i=1;i<=d.fieldCnt();i++)
    {
           f = new dictfield(tablenum(custtable),d.fieldCnt2Id(i));
           if (f.isSystem()==false)
           {
                  if (c1.(d.fieldCnt2Id(i))!=c2.(d.fieldCnt2Id(i)))
                  {
                         areTheSame = false;
                         break;
                  }
           }
    }
  • 相关阅读:
    C
    B
    A
    F
    C
    H
    Fang Fang hdu 5455
    Fire Net hdu1045(DFS)
    Sudoku HDU 5547(DFS)
    UVA 10200 Prime Time (打表)
  • 原文地址:https://www.cnblogs.com/Fandyx/p/2761592.html
Copyright © 2011-2022 走看看