#include <sstream>
#include <vector>
#include <iostream>
int main(void) {
std::string inputString = "a b c 1 2 3";
const char kDelim = 0x20; // Пробел
std::vector<std::string> result;
std::stringstream ss(inputString);
std::string item;
while (getline(ss, item, kDelim)) {
result.push_back(item);
}
for (const auto& e:result)
{
std::cout << "Аргумент: " << e << "\n";
}
return 0;
}