tf07.c

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C语言 代码 · 共 24 行

C
24
字号
extern void f( int, int );		// B:y M:n W:y

int ss;

template <class T>
    void f( T x, T y )
    {
	for( int i = 0; i < 10; ++i ) {
	    x+=y;
	}
	ss = x;
    }
extern void f( unsigned, unsigned );	// B: y M: n W: y

struct S {
    friend void f( char, char );	// B: y M: n W: y
};

void main()
{
    extern void f( double, double );	// B: n M: n W: y
    f(3.1,4.0);
}

⌨️ 快捷键说明

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