引入C++库

This commit is contained in:
2026-01-17 18:19:52 +08:00
parent 7f56f47f13
commit 0fa708c0de
8 changed files with 288 additions and 0 deletions

7
cpp/library.h Normal file
View File

@@ -0,0 +1,7 @@
#ifndef CPP_LIBRARY_H
#define CPP_LIBRARY_H
extern "C" {
void hello();
}
#endif // CPP_LIBRARY_H