• #include <stdio.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <stdarg.h>
    #include <string.h>
    #include <ctype.h>
    #include <time.h>
    #include <string.h>

    ...
  • 2009-01-16

    c中读取配置文件 - [C/C++]

    在Magic C++后台中有类似的功能,如果楼主不嫌弃的话,就用我的吧

    http://www.magicunix.com/download/tools.c
    http://www.magicunix.com/download/tools.h
    使用嘛,学会两个函数就可以啦

    /*获取整形的配置*/

    int util_getinfo_int(char *section , char *key , int *nvalue ,...