mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-04-05 11:41:28 +08:00
update
This commit is contained in:
9
basic_content/extern/extern_c++/add.cpp
vendored
Normal file
9
basic_content/extern/extern_c++/add.cpp
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
extern "C" {
|
||||
#include "add.h"
|
||||
}
|
||||
int main() {
|
||||
add(2,3);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user