[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.101'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.102'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.103'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.104'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.105'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.106'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.107'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.108'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.108'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.107'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.106'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.104'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.105'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.103'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.102'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.101'
[26/Jun/2005 10:56:44] Admin - update IpAccessList set Enabled='0' where Name='酒店内部机器' and Value='10.0.0.10'
[26/Jun/2005 10:56:44] Admin - update IpAccessList set Enabled='0' where Name='酒店内部机器' and Value='10.0.0.3'
[26/Jun/2005 10:56:44] Admin - update IpAccessList set Enabled='0' where Name='酒店内部机器' and Value='10.0.0.4'
[26/Jun/2005 10:56:44] Admin - update IpAccessList set Enabled='0' where Name='酒店内部机器' and Value='10.0.0.5'
[26/Jun/2005 10:56:59] Admin - update IpAccessList set Enabled='1' where Name='酒店内部机器' and Value='10.0.0.5'
[26/Jun/2005 10:56:59] Admin - update IpAccessList set Enabled='1' where Name='酒店内部机器' and Value='10.0.0.4'
[26/Jun/2005 10:56:59] Admin - update IpAccessList set Enabled='1' where Name='酒店内部机器' and Value='10.0.0.3'
[26/Jun/2005 10:56:59] Admin - update IpAccessList set Enabled='1' where Name='酒店内部机器' and Value='10.0.0.10'问一下,象这个信息存在文本文件中,用VC怎么获取!!!!,
急!!!!,在此先谢了!!!
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.102'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.103'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.104'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.105'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.106'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.107'
[26/Jun/2005 10:55:05] Admin - update IpAccessList set Enabled='1' where Name='酒店客房' and Value='10.0.0.108'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.108'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.107'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.106'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.104'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.105'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.103'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.102'
[26/Jun/2005 10:56:32] Admin - update IpAccessList set Enabled='0' where Name='酒店客房' and Value='10.0.0.101'
[26/Jun/2005 10:56:44] Admin - update IpAccessList set Enabled='0' where Name='酒店内部机器' and Value='10.0.0.10'
[26/Jun/2005 10:56:44] Admin - update IpAccessList set Enabled='0' where Name='酒店内部机器' and Value='10.0.0.3'
[26/Jun/2005 10:56:44] Admin - update IpAccessList set Enabled='0' where Name='酒店内部机器' and Value='10.0.0.4'
[26/Jun/2005 10:56:44] Admin - update IpAccessList set Enabled='0' where Name='酒店内部机器' and Value='10.0.0.5'
[26/Jun/2005 10:56:59] Admin - update IpAccessList set Enabled='1' where Name='酒店内部机器' and Value='10.0.0.5'
[26/Jun/2005 10:56:59] Admin - update IpAccessList set Enabled='1' where Name='酒店内部机器' and Value='10.0.0.4'
[26/Jun/2005 10:56:59] Admin - update IpAccessList set Enabled='1' where Name='酒店内部机器' and Value='10.0.0.3'
[26/Jun/2005 10:56:59] Admin - update IpAccessList set Enabled='1' where Name='酒店内部机器' and Value='10.0.0.10'问一下,象这个信息存在文本文件中,用VC怎么获取!!!!,
急!!!!,在此先谢了!!!
时间?是否允许,名字,ip地址?读取文件然后解析
//伪代码
CStdioFile f;
f.Open("t.txt",CFile::modeRead);
CString s = f.ReadLine();
//解析
s.Find("Value=");
f.Close();
char cType;
char szBuffer[256], szFormat[100], szDefValue[100]; if ((fp = fopen("_Dictionary.cfg", "rt")) == NULL)
{
....
return -1;
}
while (fgets(szBuffer, sizeof(szBuffer) - 1, fp) != NULL)
{
nFldNo = nWidth = nScale = cType = 0;
memset(szFormat, 0, sizeof(szFormat));
memset(szDefValue, 0, sizeof(szDefValue)); sscanf(szBuffer, "%d %*s %*s %s %s", &nFldNo, szFormat, szDefValue);
sscanf(szFormat, "%c%d.%d", &cType, &nWidth, &nScale);
....
}
fclose(fp);370 交易金额 12 F12.4
420 银行流水号 30 C30
sf.Open
sf.Read
sf.ReadString
...
sf.Close;