|
我输入下面的代码:
Action{
char *p="how are you ?";
char name[30];
name="ABCDEFGHIJKLMNOPQRS";
strcpy(name,p); //name改变为"how are you ? "
lr_output_message("%s",name);
return 0;
}
可是报了下面的错误:
Action.c (91): illegal character `\0241'
Action.c (91): illegal character `\0241'
Action.c (93): operands of = have illegal types `array 30 of char' and `pointer to char'
Action.c (93): lvalue required
Action.c (93): illegal character `\0241'
Action.c (93): illegal character `\0241'
d:\\lounrunner wenjian\\cs_006\\\\combined_cs_006.c (5): 6 errors, not writing pre_cci.ci
求帮助!!! |
|