1
0

Тайлбар байхгүй

ithewei dc2d943baf update 6 жил өмнө
etc 11ee1aeb6e update 6 жил өмнө
.gitignore 9aefc5dc1c update 6 жил өмнө
Makefile dc2d943baf update 6 жил өмнө
README.md 927e170407 update 6 жил өмнө
base64.cpp c74df3b33d first commit 7 жил өмнө
base64.h c74df3b33d first commit 7 жил өмнө
h.h 927e170407 update 6 жил өмнө
hbuf.h dd85a6f2a0 dos2unix 7 жил өмнө
hbytearray.h 44833237ea cpplint 7 жил өмнө
hdef.h 0ffba0976a update 6 жил өмнө
hendian.h a5178a4f68 update 7 жил өмнө
herr.cpp dd85a6f2a0 dos2unix 7 жил өмнө
herr.h 6e182c79bb update 6 жил өмнө
hfile.h 0ef2847ff3 readall(string&) 6 жил өмнө
hframe.cpp 2f6c0348f9 update 7 жил өмнө
hframe.h 2f6c0348f9 update 7 жил өмнө
hgl.h dd85a6f2a0 dos2unix 7 жил өмнө
hgui.h dd85a6f2a0 dos2unix 7 жил өмнө
hifconf.cpp 11a7033964 add ifconfig 6 жил өмнө
hifconf.h 11a7033964 add ifconfig 6 жил өмнө
hlog.cpp dd85a6f2a0 dos2unix 7 жил өмнө
hlog.h dd731e1f96 update 6 жил өмнө
hmain.cpp d191a26e51 update 6 жил өмнө
hmain.h 11ee1aeb6e update 6 жил өмнө
hmutex.h aaf2d56467 update 7 жил өмнө
hobj.h 44833237ea cpplint 7 жил өмнө
hplatform.h 11ee1aeb6e update 6 жил өмнө
hproc.h 11ee1aeb6e update 6 жил өмнө
hscope.h 44833237ea cpplint 7 жил өмнө
hstring.cpp 44833237ea cpplint 7 жил өмнө
hstring.h 44833237ea cpplint 7 жил өмнө
hsysinfo.h afaec0ff37 get_meminfo 6 жил өмнө
hthread.h f7f867362a _MSC_VER => _WIN32 7 жил өмнө
hthreadpool.h dd85a6f2a0 dos2unix 7 жил өмнө
htime.cpp 35ed758e51 update 7 жил өмнө
htime.h f7f867362a _MSC_VER => _WIN32 7 жил өмнө
hvar.h 44833237ea cpplint 7 жил өмнө
hversion.h 44833237ea cpplint 7 жил өмнө
iniparser.cpp 9b948f676c update 7 жил өмнө
iniparser.h dd85a6f2a0 dos2unix 7 жил өмнө
main.cpp.tmpl 11a7033964 add ifconfig 6 жил өмнө
singleton.h 44833237ea cpplint 7 жил өмнө
win32_getopt.h 756752be2e update 6 жил өмнө

README.md

Intro

hw 是一套跨平台c++工具集,类名以H开头

platform

  • gcc
  • mingw
  • msvc

required

  • c++11

Module

  • h.h:总头文件
  • hversion.h: 版本
  • hdef.h: 宏定义
  • hplatform.h: 平台相关
  • hendian.h: 大小端
  • hlog.h: 日志
  • herr.h: 错误码
  • htime.h: 时间
  • hstring.h: 字符串
  • hfile.h: 文件类
  • hthread.h:线程
  • hthreadpool.h:线程池
  • hmutex.h:同步锁
  • hobj.h: 对象基类
  • hvar.h: var变量
  • hbuf.h: 缓存类
  • hscope.h: 作用域RAII机制
  • hmain.h: main_ctx: arg env
  • hproc.h: 子进程/线程类
  • hsysinfo.h: 系统信息
  • hifconf.h: ifconfig实现
  • singleton.h: 单例模式
  • iniparser.h: ini解析

other

  • Makefile: 通用Makefile模板
  • main.cpp.tmpl: 通用main.cpp模板

BUILD

mv main.cpp.tmpl main.cpp
make DIRS="."