1、lib.h

 1 #ifndef LIB_H 
 2 #define LIB_H 
 3 
 4 #include <windows.h>
 5 #include <iostream>
 6 
 7 using namespace std;
 8 
 9 extern "C" int __declspec(dllexport)add(int,int);
10 extern "C" int __declspec(dllexport)sub(int,int);
11 
12 //int add(int,int);
13 //int sub(int,int);
14 
15 #endif 
lib.h

相关文章:

  • 2022-12-23
  • 2021-06-27
  • 2021-10-02
  • 2021-04-21
  • 2022-03-02
猜你喜欢
  • 2021-09-28
  • 2021-11-08
  • 2021-10-15
  • 2021-09-25
  • 2021-12-23
相关资源
相似解决方案