ChinaUnix.net
相关文章推荐:

fine name 546

:lol:

by fender0107401 - BSD - 2012-09-08 12:42:11 阅读(3452) 回复(20)

相关讨论

[code] using namespace std; class B { public: void show(){puts("class B");} }; class D:public B { public: void showDDD(){puts("class D");} }; int main(int argc, char **argv) { void* p = new B; D* pd; pd = (D*)p; pd->showDDD(); return 0; } [/code] compiled by g++, the output is class D why?

by icw_zy - C/C++ - 2007-07-11 13:17:10 阅读(1995) 回复(10)

韩版豆腐渣 日食

by folklore - IT生活 - 2013-11-06 15:27:36 阅读(264) 回复(4)

class Person: def __init__(self, name): self.name = name def sayHi(self): print 'Hello, my name is', self.name p = Person('Swaroop') p.sayHi() 这两个name怎么理解? 新手,请莫见笑。

by yh-run - Python - 2008-11-14 20:42:41 阅读(1995) 回复(5)

burberry outlet All said the woman get married after will become yellow face, whether they were never without charm? Of course not...

by coach2011198 - MySQL - 2011-12-22 08:53:12 阅读(577) 回复(0)