问下高手:VC难道不支持这种写法:
float mylog2(x)     
double x;
编译时报出下面的错误:
G:\OC1\util.cpp(41) : error C2065: 'x' : undeclared identifier
G:\OC1\util.cpp(42) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition
G:\OC1\util.cpp(42) : fatal error C1004: unexpected end of file found
为什么,谢谢提示!