mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-04-23 18:30:09 +08:00
english
This commit is contained in:
9
english/basic_content/extern/extern_c++/add.cpp
vendored
Normal file
9
english/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