测试一下
1 #ifndef _ADD_H 2 #define _ADD_H 3 4 int add(int i, int j); 5 int sub(int i, int j); 6 7 #ifdef __cplusplus 8 extern "C" { 9 #endif10 11 12 #ifdef __cplusplus13 }14 #endif15 16 #endif17 18