I have never used c++ before and what I have so far is:
#include <bits/stdc++.h>
#include <string>
using namespace std;
int main (int argc, char* argv[]) {
string command="./findName.sh";
if(argc == 2){
system((command + " " + argv[1]).c_str());
}
}
This program just takes in one parameter and passes it to the script but I want it to pass more than one in the form of a string with spaces!