【新手提问】complex为什么不能使用?
#include <complex>
void main()
{
complex<float> icplx(1, 2);
}
--------------------------------------------------------------------------------
--------------------Configuration: Cpp2 - Win32 Debug--------------------
Compiling...
Cpp2.cpp
G:\Cpp2.cpp(5) : error C2065: 'complex' : undeclared identifier
G:\Cpp2.cpp(5) : error C2062: type 'float' unexpected
Error executing cl.exe.
Cpp2.obj - 2 error(s), 0 warning(s)
请给个理由!