How to use Redis within a C++ program?

前端 未结 9 1495
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 06:48

What would be the best way to use a Redis DB within a C++ program?

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 07:27

    https://github.com/petrohi/hiredispp

    Also check out hiredispp. It is far from complete, but very simplistic implementation that wraps around C based hiredis. Hiredis takes care of low level protocol and networking stuff while hiredispp wrappers just make it C++ friendly.

提交回复
热议问题