现有一通用 获取记录集合函数 function GetRec(StrSql:string):Tadodataset; var rec1:Tadodataset; begin rec1:=TADODataSet.Create(nil); rec1.Connection:=ADOConnection1; rec1.CommandText:=strsql; rec1.Open; result:=rec1
package org.example.demo;//比较版本号public class VersionComDoubleSolution {public int compareVersion(String version1, String version2) {int n = version1.length(), m = version2.length();int i = 0, j = 0;w