int main(int argc, char* argv[])
{
char ch='f';
char const *pr=&ch;
ch='b';
pr=&ch;
cout
system("PAUSE");
return 0;
}
*****
note: I did change the value of the variable ch.
but, the code inside could be compiled,李大牙:)
所有跟帖:
•
我瞎猜啊---可能跟方言有关。我刚用MFC两种都无法编译。
-LiYouCai-
♂
(0 bytes)
()
01/07/2009 postreply
20:03:11
•
看来两位老李是对的。实践证明:
-戏雨飞鹰-
♀
(82 bytes)
()
01/07/2009 postreply
20:15:52