宏定义,字符串处理
#define ASSIGN_FIELD(KEY,DEFAULT) /
col = key_index_map[#KEY];/
cell_string = get_cell_string(sheet,r,col,DEFAULT);/
a_info->KEY->assign(cell_string.c_str())
vc2008 转 vc2005,
Version="9,00"
C++编译器编译c
#ifdef __cplusplus
extern "C"
{
#endif
#include <direct.h>
typedef struct DIR DIR;
struct dirent
{
char *d_name;
};
#ifdef __cplusplus
}
#endif