如何比较长的信息
|
||||
---|---|---|---|---|
資深會員
|
请教如何构造一个比较长的字符是否相同,比如字符
MYNAME是一固定字符,接收到的信息该如何比较,当然我现在是 if(recvdata[0]==0X4D) { if(recvdata[1]==0x59) { if....... 感觉这样好像太笨啦
發表於: 2010/1/19 22:54
|
|||
|