sqlite的sql關鍵字全部大寫
宏定義,字符串處理
#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,
修改vc工程文件
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