#include #include #include using namespace std; int main(int argc, char **argv) { int i = 0; double d = 0; try { i = stoi(string(argv[1])); d = stod(string(argv[2])); cout << fmt::format("i + d = {0:f}", i + d) << endl; } catch (exception ex) { cout << "Can't convert command line argument!" << endl; } return 0; }