C++ Lunh method get/add/check