p3060c.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 24 行

C
24
字号
// A new problem with my pointer to member function work.// Build don't link:// prms-id: 3060class Foo{ public:  int x;  int y;  Foo (int i, int j) { x = i; y = j; }  operator int ();};int Foo::operator int() { return x; } // WARNING - can't specify return typeFoo foo(10, 11);intmain(){  int Foo::* pmi = &Foo::y;  return foo.*pmi;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?