but, the code inside could be compiled,李大牙:)

来源: 戏雨飞鹰 2009-01-07 19:53:03 [] [博客] [旧帖] [给我悄悄话] 本文已被阅读: 次 (235 bytes)
回答: 在来一个 easy one:戏雨飞鹰2009-01-07 19:16:59
int main(int argc, char* argv[])
{
char ch='f';
char const *pr=&ch;
ch='b';
pr=&ch;
cout<<*pr<
system("PAUSE");

return 0;
}

*****
note: I did change the value of the variable ch.

所有跟帖: 

我瞎猜啊---可能跟方言有关。我刚用MFC两种都无法编译。 -LiYouCai- 给 LiYouCai 发送悄悄话 LiYouCai 的博客首页 (0 bytes) () 01/07/2009 postreply 20:03:11

看来两位老李是对的。实践证明: -戏雨飞鹰- 给 戏雨飞鹰 发送悄悄话 戏雨飞鹰 的博客首页 (82 bytes) () 01/07/2009 postreply 20:15:52

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”