ini文件读取#define   SUCCESS                0
ini文件读取
#define   NOT_EXIST_FILE        1
ini文件读取
#define   NOT_OPEN_FILE        2
ini文件读取
#define   NOT_EXIST_SECTION   3
ini文件读取
#define   NOT_EXIST_ITEM       4
ini文件读取
#define   NOT_ENOUGH_MEMORY 5       /*item_value需要比
ini文件读取                                       max_item_value_length还要多的值
*/
ini文件读取
#define   NOT_EXIST_VALUE      6
ini文件读取
#define   NOT_MATCH_BRACKET  7
ini文件读取
#define   NOT_EXIST_EQUAL      8
ini文件读取
ini文件读取
#define   SPACE         0x20   
ini文件读取
#define   LEFT_SQUARE_BRACKET '['
ini文件读取
#define   RIGHT_SQUARE_BRACKET ']'
ini文件读取
#define   CHINESE_LEFT_SQUARE_BRACKET  '【' 
ini文件读取
#define   CHINESE_RIGHT_SQUARE_BRACKET '】'
ini文件读取
#define   EQUAL_SIGN   '='
ini文件读取
#define   POSTIL        ';'
ini文件读取
#define   MAX_BUFFER_LENGTH    (255+1)
ini文件读取
#define   MAX_ITEM_LENGTH      (128)
ini文件读取
ini文件读取
#define   INI  (".ini") 
ini文件读取
ini文件读取
#define   NOT_FIND_SECTION 0
ini文件读取
#define   FIND_SECTION      1
ini文件读取
ini文件读取#ifdef _cplusplus
ini文件读取
#define    FALSE        false
ini文件读取
#define   TRUE         true
ini文件读取
#else
ini文件读取 
#define    FALSE      0
ini文件读取 
#define   TRUE        1
ini文件读取
#endif 
ini文件读取
ini文件读取#ifndef _cplusplus
ini文件读取 
#define inline    /*虽然编译器不支持,可以在C中支持inline用法不出现语法错误*/
ini文件读取
#endif
ini文件读取
ini文件读取
ini文件读取
ini文件读取
int GetValue(const char *file_name, const char *section_name, const char *item_name, char *item_value,const unsigned int max_item_value_length);
 

相关文章:

  • 2022-01-16
  • 2021-06-30
  • 2021-10-20
  • 2021-11-15
  • 2021-10-04
  • 2022-12-23
猜你喜欢
  • 2021-06-05
  • 2021-09-02
  • 2021-08-09
  • 2021-06-25
相关资源
相似解决方案