Ver originalistringstream s(caracteres_leidos); string token; while( s >> token ) { cout << "Token : '" << token << "'\n"; }