1. char *pSendBuff = (char *)malloc(iLenSend);
Q : waring: incompatible implicit declaration of built-in function 'malloc'
A : #include
2. switch (integer) {
case 1:
...
...
break;
case 2:
...
...
break;
}
Q : //case 2 所在行. error: a label can only be part of a statement and a declaration is not a statement
A : switch (integer) {
case 1:
{
...
...
}
break;
case 2:
{
...
...
}
break;
}
阅读(2229) | 评论(0) | 转发(0) |