Operation of redis in Linux with C++