![]() |
#2
I喜欢c2007-05-08 12:52
|
char *temp = "Untitled";cout << temp;char ch[40];ch = temp;
编译器提示说 incompatible types in assignment of `char*' to `char[40]' 想知道为什么不能这样做.
[此贴子已经被作者于2007-5-8 16:56:13编辑过]