hiramlee
Junior Member level 1
- Joined
- May 15, 2012
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Chengdu,China
- Activity points
- 1,408
int strcat(char *s, char *t){
while(*(s++)!='\0');
s--;
while(*(s++)=*(t++));
return 0;
}
Description Resource Path Location Type
Possible assignment in condition '*(s++)=*(t++)' strcat.c /strcat line 23 Semantic Error
Description Resource Path Location Type
suggest parentheses around assignment used as truth value [-Wparentheses] strcat.c /strcat line 23 C/C++ Problem
while(*(s++)!='\0');
s--;
while(*(s++)=*(t++));
return 0;
}
Description Resource Path Location Type
Possible assignment in condition '*(s++)=*(t++)' strcat.c /strcat line 23 Semantic Error
Description Resource Path Location Type
suggest parentheses around assignment used as truth value [-Wparentheses] strcat.c /strcat line 23 C/C++ Problem