close
假如在C++ 中要呼叫C 的function,
則需加入如下宣告:

#ifdef __cplusplus
extern  "C" {
#endif   
 
/* put your c function definiction here */
 
#ifdef __cplusplus
}
#endif   
arrow
arrow
    全站熱搜

    note1 發表在 痞客邦 留言(0) 人氣()