Fixed c++ result