Add spaces
This commit is contained in:
parent
1f80ecf5a5
commit
67be746027
|
@ -25,10 +25,11 @@ int main (int argc, char *argv[])
|
||||||
std::cerr << "Usage: " << argv[0] << " executable" << std::endl;
|
std::cerr << "Usage: " << argv[0] << " executable" << std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
std::string command;
|
std::string command = argv[1];
|
||||||
int cc;
|
int cc;
|
||||||
for ( cc = 1; cc < argc; cc ++ )
|
for ( cc = 2; cc < argc; cc ++ )
|
||||||
{
|
{
|
||||||
|
command += " ";
|
||||||
command += argv[cc];
|
command += argv[cc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue