i want to make a c++ program that do something like this
string str;
cin >> str;
str="cat " + str;
int rv=system(str);

is there a way to do it?