
-
准备工作
-
main.cpp
1
2
3
4
5
6
7
8
9
10#include <iostream>
#include "a.h"
using namespace std;
int main()
{
test();
cout << "hello world" << endl;
return 0;
} -
a.h
1
2
3
4
5#ifndef AH_H
#define AH_H
void test();
#endif -
a.cpp
1
2
3
4
5
6#include <stdio.h>
void test()
{
printf("I am testn");
}
-
- 版本0
1 |
start: |
- 版本1
1 |
start: |
- 版本2
1 |
CC=g++ |
- 版本3
1 |
CC=g++ |
- 版本4
1 |
CC=g++ |
- 最终版本
1 |
CC=g++ |




近期评论