注册 登录
编程论坛 C++教室

C++有复数标准库,但为何编译出错呢?

yusilian 发布于 2014-02-04 01:17, 394 次点击
编译以下命令时,提示错误为:: fatal error C1083: Cannot open include file: 'complex.h': No such file or directory,这是为何?c++标准库不是有复数么?请大神正解。
#include <iostream>
using namespace std;
#include "complex.h"
3 回复
#2
wp2319572014-02-04 08:25
多明显的提示啊  找不到XXXX文件
#3
zklhp2014-02-04 14:48
现代的C++头文件都是没有.h的 就算是以前C语言的 也C++化了 用字母c开头 比如cmath cstring
#4
TonyDeng2014-02-05 11:41
在vc中,沒有complex.h頭,有complex或ccomplex頭。
1