scoping15.c

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

C
21
字号
// Bug: g++ ignores the :: qualification and dies trying to treat an integer// variable as a list of functions.// Build don't link:class DComplex {public:  friend  double   imag(const DComplex& a);};class FComplex {public:  friend  float    imag(const FComplex& a);};voidscnrm2(FComplex cx[]){  int imag;  ::imag( cx[0] );}

⌨️ 快捷键说明

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