This commit is contained in:
xliu79
2020-07-19 10:38:38 +08:00
parent 9f6088a31e
commit 2bdeea85d1
129 changed files with 5264 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#include "add.h"
int add(int x,int y) {
return x+y;
}

View File

@@ -0,0 +1,9 @@
#include <iostream>
using namespace std;
extern "C" {
#include "add.h"
}
int main() {
add(2,3);
return 0;
}

View File

@@ -0,0 +1,4 @@
#ifndef ADD_H
#define ADD_H
extern int add(int x,int y);
#endif

Binary file not shown.

BIN
english/basic_content/extern/extern_c++/main vendored Executable file

Binary file not shown.