文章目录
- 效果图
- a.cpp
- a.h
- main.cpp
效果图
a.cpp
#include "a.h"
int fun(int x){
return x;
}
a.h
#include <iostream>
using namespace std;
#define row 11
int fun(int x);
main.cpp
#include "a.h"
int main()
{
cout << fun(2) << endl;
cout << row << endl;
return 0;
}