![5da60a244f0c4160b1b8405d976bd7d8.png](https://img-blog.csdnimg.cn/img_convert/5da60a244f0c4160b1b8405d976bd7d8.png)
C到C++
![f09f8a57dcb1875a07dd7005d18b4888.png](https://img-blog.csdnimg.cn/img_convert/f09f8a57dcb1875a07dd7005d18b4888.png)
头文件
C风格
#include<stdio.h>
#include<math.h>
C++风格
#include<iostream>
#include<cstdio> //C++风格
#include<cmath> //math.h cmath
输入输出
#include<stdio.h>
#include<iostream>
using namespace std; //命名空间 名字空间两种叫法
int main()
{
//输出
printf("h