谁能解释一下头文件?谢谢
谁能解释一下头文件中:extern "C" ,#ifdef __cplusplus的意思,他们起到什么作用?
#if !defined(RLE_H)
#define RLE_H
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef __cplusplus
extern "C"
{
#endif
// Function Prototypes
DWORD RunLength(BYTE *pInput,DWORD dwCount);
DWORD RunLengthEncode(BYTE *pInput,DWORD dwCount,BYTE *pOutput);
DWORD RunLengthDecode(BYTE *pInput,BYTE *pOutput);
#ifdef __cplusplus
}
#endif
#endif