val to store parsed floating type number. float val = std::stof(str);. // Printing parsed floating type number. std::cout << val;. return 0;. }.
確定! 回上一頁