i = 0;
while(all[i] != ‘=‘)
{
vindex[i] = all[i];
i++;
}
vindex[i] = ‘\0‘;
i++;
vtypei = i;
while(all[i] != ‘=‘)
{
vtype[i - vtypei] = all[i];
i++;
}
vtype[i - vtypei] = ‘\0‘;
i++;
vvaluei = i;
while(all[i] != ‘=‘ && all[i] != ‘\0‘)
{
vvalue[i - vvaluei] = all[i];
i++;
}
vvalue[i - vvaluei] = ‘\0‘;
时间: 2024-10-22 13:28:39