Use std::stringstream to convert player->points to a string. std::stringstream ss;
ss << i;
graphics->ApplyText( 30, 420, ss.str().c_str(), 255, 255, 0, font );
Use std::stringstream to convert player->points to a string. std::stringstream ss;
ss << i;
graphics->ApplyText( 30, 420, ss.str().c_str(), 255, 255, 0, font );