VS2008怎么查看C++标准库头文件
1、比如我们想溽朽孑臾查看sqrt()函数在头文件cmath中的定义#include <iostream>#足毂忍珩include <cmath>using namespace std;int main() { cout<<sqrt(4.0)<<endl;return 0;}

3、<cmath>文件即可打开,如图所示:

5、如图显示打开的<math.h>头文件

1、比如我们想溽朽孑臾查看sqrt()函数在头文件cmath中的定义#include <iostream>#足毂忍珩include <cmath>using namespace std;int main() { cout<<sqrt(4.0)<<endl;return 0;}
3、<cmath>文件即可打开,如图所示:
5、如图显示打开的<math.h>头文件