C++ learn Repository