#include #include <sstream> int main() { std::string trame = "-12 1 0 1"; std::stringstream buff; int x, y, z, a; buff << trame; buff >> x >> y >> z >> a; std::cout << x << " -> " << y << " -> " << z << " -> " << a << std::endl; return 0; }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question