-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
基础语法:30、extern"C"的用法 #155
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(1)C++调用C函数里的第一行代码是不是应该改为下边这样
extern "C" int add(); // 此处声明告诉C++编译器,add是外部C语言函数
The text was updated successfully, but these errors were encountered: