Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问可以直接在C++里使用这个代码吗? #26

Open
1YuanyuanSong opened this issue May 8, 2024 · 3 comments
Open

请问可以直接在C++里使用这个代码吗? #26

1YuanyuanSong opened this issue May 8, 2024 · 3 comments

Comments

@1YuanyuanSong
Copy link

No description provided.

@begeekmyfriend
Copy link
Owner

参见bplustree_demo.c

@1YuanyuanSong
Copy link
Author

参见bplustree_demo.c

有点不太明白。我的意思是,您的代码是用C写的,我想在我的C++项目中使用它。请问可以直接使用吗?

@begeekmyfriend
Copy link
Owner

begeekmyfriend commented May 11, 2024

头文件里面加上extern C就可以用g++编译,bplustree_demo.c提供了接口基本使用方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants