Last active
January 27, 2017 21:11
-
-
Save altendky/0a84fe3b9f047a1d7e260d9cf82192ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main (int argc, char* argv[]) | |
{ | |
string command = string("py"); | |
cout << " - - - - - - - \\/ \\/ - - - - - " << std::endl; | |
for (int i = 2; i < argc; i++) | |
{ | |
cout << argv[i] << endl; | |
command += " "; | |
command += '"'; | |
command += argv[i]; | |
command += '"'; | |
} | |
cout << " - - - - - - - /\\ /\\ - - - - - " << std::endl; | |
cout << command << endl; | |
cout << " - - - - - - - /\\ /\\ - - - - - " << std::endl; | |
system( command.c_str() ); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment