DOUBLE1 [C++/MFC] String to int/float/double 변환 String ▶ int stoi 사용 std::string strRubber = "Good afternoon"; int nRubber = stoi(strRubber); String ▶ float stof 사용 std::string strRubber = "Good afternoon"; float fRubber = stof(strRubber); String ▶ double stod 사용 std::string strRubber = "Good afternoon"; double dRubber = stod(strRubber); 2021. 4. 10. 이전 1 다음