C语言多结构文件完成两个数的加减乘除
.h文件用来声明函数,
#ifndef Int_Cal_H
#define Int_Cal_H //防止头文件重复利用
int Add(int a,int b);//加法函数声明
int Mult(int a,int b);//乘法函数声明
int Sub(int a,int b);//减法函数声明
int Div(int a,int b);//除法函数声明
#endif
用来函数定义的源文件
#include<stdio.h>
#include"Int_cal.h"
.
原创
2020-06-01 21:07:14 ·
1673 阅读 ·
0 评论