An attempt to make a cryptsy api in c++