#define GetChPos(thisBuf,ch) (int)strchr(thisBuf, ch) - (int)thisBuf 1. 使用: GetChPos(par1, par2); 1. par1: 被检索的字符串 par2: 要检索的字符 ret:返回对应的位置
#define GetChPos(thisBuf,ch) (int)strchr(thisBuf, ch) - (int)thisBuf 1. 使用: GetChPos(par1, par2); 1. par1: 被检索的字符串 par2: 要检索的字符 ret:返回对应的位置